diff options
| author | Laurent Montel <[email protected]> | 2020-02-16 14:44:38 +0100 |
|---|---|---|
| committer | Laurent Montel <[email protected]> | 2020-02-16 14:44:38 +0100 |
| commit | e545efee73a869aef4276baef0535169f03933de (patch) | |
| tree | d3e6f26828658060358c77f8bb1404796d0721be /src/settings/viewpropertiesdialog.cpp | |
| parent | 4c923a531f77bc4c44b5c8687fe18dd6438eb9c5 (diff) | |
Port deprecated signal (qt5.15)
Diffstat (limited to 'src/settings/viewpropertiesdialog.cpp')
| -rw-r--r-- | src/settings/viewpropertiesdialog.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/settings/viewpropertiesdialog.cpp b/src/settings/viewpropertiesdialog.cpp index c3078d5df..2f5d55523 100644 --- a/src/settings/viewpropertiesdialog.cpp +++ b/src/settings/viewpropertiesdialog.cpp @@ -163,11 +163,23 @@ ViewPropertiesDialog::ViewPropertiesDialog(DolphinView* dolphinView) : layout->addRow(QString(), m_showInGroups); layout->addRow(QString(), m_showHiddenFiles); +#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0) connect(m_viewMode, QOverload<int>::of(&QComboBox::currentIndexChanged), +#else + connect(m_viewMode, QOverload<int, const QString &>::of(&QComboBox::currentIndexChanged), +#endif this, &ViewPropertiesDialog::slotViewModeChanged); +#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0) connect(m_sorting, QOverload<int>::of(&QComboBox::currentIndexChanged), +#else + connect(m_sorting, QOverload<int, const QString &>::of(&QComboBox::currentIndexChanged), +#endif this, &ViewPropertiesDialog::slotSortingChanged); +#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0) connect(m_sortOrder, QOverload<int>::of(&QComboBox::currentIndexChanged), +#else + connect(m_sortOrder, QOverload<int, const QString &>::of(&QComboBox::currentIndexChanged), +#endif this, &ViewPropertiesDialog::slotSortOrderChanged); connect(m_sortFoldersFirst, &QCheckBox::clicked, this, &ViewPropertiesDialog::slotSortFoldersFirstChanged); |
