]> cloud.milkyroute.net Git - dolphin.git/commitdiff
fixed arg
authorarnav dhamija <arnav.dhamija@gmail.com>
Mon, 13 Feb 2017 11:38:10 +0000 (17:08 +0530)
committerarnav dhamija <arnav.dhamija@gmail.com>
Mon, 13 Feb 2017 11:38:10 +0000 (17:08 +0530)
src/dolphintabpage.cpp
src/dolphintabpage.h

index 0ed5fd2f276af0309e271c8a586e9303429f313d..5c42d41ec7c2e97236542a7923e55b919813bbbb 100644 (file)
@@ -71,7 +71,7 @@ bool DolphinTabPage::splitViewEnabled() const
     return m_splitViewEnabled;
 }
 
-void DolphinTabPage::setSplitViewEnabled(bool enabled, QUrl secondaryUrl)
+void DolphinTabPage::setSplitViewEnabled(bool enabled, const QUrl &secondaryUrl)
 {
     if (m_splitViewEnabled != enabled) {
         m_splitViewEnabled = enabled;
index 023f216fc3bc73942548d9852cedd84fd7412629..1a97ea45738bf88851f57593bb7fa7c3dfbf565c 100644 (file)
@@ -50,7 +50,7 @@ public:
      *
      * If \a enabled is true, it creates a secondary view with the url of the primary view.
      */
-    void setSplitViewEnabled(bool enabled, QUrl secondaryUrl = QUrl());
+    void setSplitViewEnabled(bool enabled, const QUrl &secondaryUrl = QUrl());
 
     /**
      * @return The primary view containter.