Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Goetz <markus@woboq.com>2015-10-20 17:58:32 +0300
committerMarkus Goetz <markus@woboq.com>2015-10-20 18:57:43 +0300
commitc8590c44685e4ef00c0e868774b68207fb6829c3 (patch)
tree39323452164afc7fefbf200789771ee9ebcf1a8d /src/gui/networksettings.cpp
parent98b966d27433a51b4a4f77816b8c2d689bafec5e (diff)
Remove legacy propagator and neon
The code was already uneeded/unbuilt on Windows and OS X.
Diffstat (limited to 'src/gui/networksettings.cpp')
-rw-r--r--src/gui/networksettings.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/gui/networksettings.cpp b/src/gui/networksettings.cpp
index ef13a9480..2c5a22a71 100644
--- a/src/gui/networksettings.cpp
+++ b/src/gui/networksettings.cpp
@@ -117,6 +117,21 @@ void NetworkSettings::loadProxySettings()
void NetworkSettings::loadBWLimitSettings()
{
+#if QT_VERSION < QT_VERSION_CHECK(5,3,3)
+ // QNAM bandwith limiting only works with versions of Qt greater or equal to 5.3.3
+ // (It needs Qt commits 097b641 and b99fa32)
+ _ui->noDownloadLimitRadioButton->setChecked(true);
+ _ui->downloadLimitRadioButton->setEnabled(false);
+ _ui->noDownloadLimitRadioButton->setEnabled(false);
+ _ui->autoDownloadLimitRadioButton->setEnabled(false);
+
+ _ui->noUploadLimitRadioButton->setChecked(true);
+ _ui->uploadLimitRadioButton->setEnabled(false);
+ _ui->noUploadLimitRadioButton->setEnabled(false);
+ _ui->autoUploadLimitRadioButton->setEnabled(false);
+ return;
+#endif
+
ConfigFile cfgFile;
int useDownloadLimit = cfgFile.useDownloadLimit();