diff options
| author | Aleix Pol <[email protected]> | 2020-03-31 15:35:33 +0200 |
|---|---|---|
| committer | Heiko Becker <[email protected]> | 2020-04-06 22:36:16 +0200 |
| commit | d868568d81c74e91c37955876242ac1bed79133a (patch) | |
| tree | 07f232d6b7c771f478fe56fd87c5f12c511d6e25 /src/settings/viewmodes | |
| parent | 9b82b08fb18724662c69ed288b1a36a215548539 (diff) | |
Revert "Port deprecated signal (qt5.15)"
This reverts commit e545efee73a869aef4276baef0535169f03933de.
(Cherry-picked from c01d1b4c0e909af716801e4b82862c50e8def4a4)
Diffstat (limited to 'src/settings/viewmodes')
| -rw-r--r-- | src/settings/viewmodes/viewsettingstab.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/settings/viewmodes/viewsettingstab.cpp b/src/settings/viewmodes/viewsettingstab.cpp index 2175f75c8..06b0b8cf5 100644 --- a/src/settings/viewmodes/viewsettingstab.cpp +++ b/src/settings/viewmodes/viewsettingstab.cpp @@ -120,23 +120,11 @@ ViewSettingsTab::ViewSettingsTab(Mode mode, QWidget* parent) : switch (m_mode) { case IconsMode: -#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0) connect(m_widthBox, QOverload<int>::of(&QComboBox::currentIndexChanged), this, &ViewSettingsTab::changed); -#else - connect(m_widthBox, QOverload<int, const QString &>::of(&QComboBox::currentIndexChanged), this, &ViewSettingsTab::changed); -#endif -#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0) connect(m_maxLinesBox, QOverload<int>::of(&QComboBox::currentIndexChanged), this, &ViewSettingsTab::changed); -#else - connect(m_maxLinesBox, QOverload<int, const QString &>::of(&QComboBox::currentIndexChanged), this, &ViewSettingsTab::changed); -#endif break; case CompactMode: -#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0) connect(m_widthBox, QOverload<int>::of(&QComboBox::currentIndexChanged), this, &ViewSettingsTab::changed); -#else - connect(m_widthBox, QOverload<int, const QString &>::of(&QComboBox::currentIndexChanged), this, &ViewSettingsTab::changed); -#endif break; case DetailsMode: connect(m_expandableFolders, &QCheckBox::toggled, this, &ViewSettingsTab::changed); |
