diff options
| author | Méven Car <[email protected]> | 2026-06-13 14:28:08 +0000 |
|---|---|---|
| committer | Méven Car <[email protected]> | 2026-06-13 15:00:09 +0000 |
| commit | d49b4aa1bc826bc2343f518af6712981228f1c8e (patch) | |
| tree | cd34bd09be00831ed2669824c91fe85887b075e0 /src/dolphinnavigatorswidgetaction.cpp | |
| parent | 99c87fe4314d392ae8d3e4cf9c05e3f014322608 (diff) | |
remove version guards below the build minimums
KIO_VERSION and KFILEMETADATA_VERSION checks up to 6.23 are always true
given the Qt 6.4 / KF 6.23 minimum versions.
Diffstat (limited to 'src/dolphinnavigatorswidgetaction.cpp')
| -rw-r--r-- | src/dolphinnavigatorswidgetaction.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/dolphinnavigatorswidgetaction.cpp b/src/dolphinnavigatorswidgetaction.cpp index dd7110a08..184530bc5 100644 --- a/src/dolphinnavigatorswidgetaction.cpp +++ b/src/dolphinnavigatorswidgetaction.cpp @@ -103,9 +103,7 @@ void DolphinNavigatorsWidgetAction::createSecondaryUrlNavigator() Q_ASSERT(m_splitter->count() == 1); m_splitter->addWidget(createNavigatorWidget(Secondary)); Q_ASSERT(m_splitter->count() == 2); -#if KIO_VERSION >= QT_VERSION_CHECK(6, 14, 0) secondaryUrlNavigator()->setBackgroundEnabled(primaryUrlNavigator()->isBackgroundEnabled()); -#endif updateText(); } @@ -149,18 +147,15 @@ void DolphinNavigatorsWidgetAction::setSecondaryNavigatorVisible(bool visible) // Fix an unlikely event of wrong trash button visibility. emptyTrashButton(Secondary)->setVisible(false); } -#if KIO_VERSION >= QT_VERSION_CHECK(6, 21, 0) primaryUrlNavigator()->setHighlightFocusIndicator(visible); if (secondaryUrlNavigator()) { secondaryUrlNavigator()->setHighlightFocusIndicator(visible); } -#endif updateText(); } void DolphinNavigatorsWidgetAction::setBackgroundEnabled(bool enabled) { -#if KIO_VERSION >= QT_VERSION_CHECK(6, 14, 0) // Breeze wants a plain rectangle to fill the frame, // but let other QStyles style the navbar how they please const bool isBreezeStyle = m_splitter->style()->name() == QStringLiteral("breeze"); @@ -170,9 +165,6 @@ void DolphinNavigatorsWidgetAction::setBackgroundEnabled(bool enabled) if (secondaryUrlNavigator()) { secondaryUrlNavigator()->setBackgroundEnabled(isBreezeStyle ? enabled : true); } -#else - Q_UNUSED(enabled); -#endif } QWidget *DolphinNavigatorsWidgetAction::createWidget(QWidget *parent) |
