diff options
| author | Méven Car <[email protected]> | 2023-08-28 10:32:35 +0200 |
|---|---|---|
| committer | Méven Car <[email protected]> | 2023-08-28 10:36:37 +0200 |
| commit | 1318f16fd7b84de79c04eb468d61e1c9b7b52e15 (patch) | |
| tree | 430c477f6d9229eede00ece60d11b09be3b498cc /src/settings/viewpropertiesdialog.cpp | |
| parent | a2e888d9a03add380c113c0f5edff5391e90a358 (diff) | |
Clean obsolete ifdefs since dolphin requires KF 5.101+
Diffstat (limited to 'src/settings/viewpropertiesdialog.cpp')
| -rw-r--r-- | src/settings/viewpropertiesdialog.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/settings/viewpropertiesdialog.cpp b/src/settings/viewpropertiesdialog.cpp index f7bd754b1..c630f8113 100644 --- a/src/settings/viewpropertiesdialog.cpp +++ b/src/settings/viewpropertiesdialog.cpp @@ -333,11 +333,7 @@ void ViewPropertiesDialog::applyViewProperties() const bool applyToSubFolders = m_applyToSubFolders && m_applyToSubFolders->isChecked(); if (applyToSubFolders) { const QString text(i18nc("@info", "The view properties of all sub-folders will be changed. Do you want to continue?")); -#if KWIDGETSADDONS_VERSION >= QT_VERSION_CHECK(5, 100, 0) if (KMessageBox::questionTwoActions(this, text, {}, KStandardGuiItem::cont(), KStandardGuiItem::cancel()) == KMessageBox::SecondaryAction) { -#else - if (KMessageBox::questionYesNo(this, text, {}, KStandardGuiItem::cont(), KStandardGuiItem::cancel()) == KMessageBox::No) { -#endif return; } @@ -367,11 +363,7 @@ void ViewPropertiesDialog::applyViewProperties() if (applyToAllFolders) { const QString text(i18nc("@info", "The view properties of all folders will be changed. Do you want to continue?")); -#if KWIDGETSADDONS_VERSION >= QT_VERSION_CHECK(5, 100, 0) if (KMessageBox::questionTwoActions(this, text, {}, KStandardGuiItem::cont(), KStandardGuiItem::cancel()) == KMessageBox::SecondaryAction) { -#else - if (KMessageBox::questionYesNo(this, text, {}, KStandardGuiItem::cont(), KStandardGuiItem::cancel()) == KMessageBox::No) { -#endif return; } |
