]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/dolphinviewcontainer.cpp
Take care to not reset the preview-settings if they have not been changed.
[dolphin.git] / src / dolphinviewcontainer.cpp
index 3f3eb91cd13bbfe8ee074c0005280f96bfdaa678..7fd0cfa2999cf81ceea7afefe51fe20266d2c43e 100644 (file)
@@ -226,7 +226,7 @@ void DolphinViewContainer::refresh()
         // settings of the URL navigator and the filterbar.
         m_urlNavigator->setUrlEditable(settings->editableUrl());
         m_urlNavigator->setShowFullPath(settings->showFullPath());
-        showFilterBar(settings->filterBar());
+        setFilterBarVisible(settings->filterBar());
     }
 
     m_view->refresh();
@@ -298,10 +298,10 @@ void DolphinViewContainer::setUrl(const KUrl& newUrl)
     }
 }
 
-void DolphinViewContainer::showFilterBar(bool show)
+void DolphinViewContainer::setFilterBarVisible(bool visible)
 {
     Q_ASSERT(m_filterBar != 0);
-    if (show) {
+    if (visible) {
         m_filterBar->show();
     } else {
         closeFilterBar();