]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/dolphinview.cpp
KDirLister openUrl parameters are now flags
[dolphin.git] / src / dolphinview.cpp
index 6a6c40c7bb23cc07753cdab7696b5ec6523b53e5..eae699a7bef42595db12c4fbae5e96c133f45434 100644 (file)
@@ -573,11 +573,11 @@ void DolphinView::startDirLister(const KUrl& url, bool reload)
                 // The current URL is not a child of the dir lister
                 // URL. This may happen when e. g. a place has been selected
                 // and hence the view must be reset.
-                m_dirLister->openUrl(url, false, false);
+                m_dirLister->openUrl(url, KDirLister::NoFlags);
             }
         }
     } else {
-        m_dirLister->openUrl(url, false, reload);
+        m_dirLister->openUrl(url, reload ? KDirLister::Reload : KDirLister::NoFlags);
     }
 }