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:
authorHelmut K. C. Tessarek <tessarek@evermeet.cx>2017-09-13 07:26:56 +0300
committerOlivier Goffart <olivier@woboq.com>2017-09-15 08:11:05 +0300
commit709aa27031f07ffbc21e0478ae0da220885a4cf3 (patch)
tree9c50f0ad23de8f9a1b02131dcc5cd02e20f179ae /src/gui/networksettings.cpp
parent5b01d634915dbdab1d79e17f6af043a9031bd283 (diff)
remove qt4 code
Diffstat (limited to 'src/gui/networksettings.cpp')
-rw-r--r--src/gui/networksettings.cpp21
1 files changed, 0 insertions, 21 deletions
diff --git a/src/gui/networksettings.cpp b/src/gui/networksettings.cpp
index 2f35614a1..b135bbea2 100644
--- a/src/gui/networksettings.cpp
+++ b/src/gui/networksettings.cpp
@@ -125,27 +125,6 @@ void NetworkSettings::loadBWLimitSettings()
{
ConfigFile cfgFile;
-#if QT_VERSION < QT_VERSION_CHECK(5, 3, 3)
- // QNAM bandwidth limiting only works with versions of Qt greater or equal to 5.3.3
- // (It needs Qt commits 097b641 and b99fa32)
-
- const char *v = qVersion(); // "x.y.z";
- if (QLatin1String(v) < QLatin1String("5.3.3")) {
- QString tooltip = tr("Qt >= 5.4 is required in order to use the bandwidth limit");
- _ui->downloadBox->setEnabled(false);
- _ui->uploadBox->setEnabled(false);
- _ui->downloadBox->setToolTip(tooltip);
- _ui->uploadBox->setToolTip(tooltip);
- _ui->noDownloadLimitRadioButton->setChecked(true);
- _ui->noUploadLimitRadioButton->setChecked(true);
- if (cfgFile.useUploadLimit() != 0 || cfgFile.useDownloadLimit() != 0) {
- // Update from old mirall that was using neon propagator jobs.
- saveBWLimitSettings();
- }
- return;
- }
-
-#endif
int useDownloadLimit = cfgFile.useDownloadLimit();
if (useDownloadLimit >= 1) {
_ui->downloadLimitRadioButton->setChecked(true);