]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/dolphinnavigatorswidgetaction.cpp
DolphinView: display errorMessage when copy errors occurs
[dolphin.git] / src / dolphinnavigatorswidgetaction.cpp
index 1e4e5df9cddbcf62bcb330dcf0e41745cad653f9..ef99d1cb701321b726a4409bf863472fd7b65161 100644 (file)
@@ -103,7 +103,9 @@ 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();
 }
 
@@ -159,6 +161,8 @@ void DolphinNavigatorsWidgetAction::setBackgroundEnabled(bool enabled)
     if (secondaryUrlNavigator()) {
         secondaryUrlNavigator()->setBackgroundEnabled(enabled);
     }
+#else
+    Q_UNUSED(enabled);
 #endif
 }