From: arnav dhamija Date: Mon, 13 Feb 2017 11:38:10 +0000 (+0530) Subject: fixed arg X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/d5e692d16def63a6e874aab57aff4a8f6abfd1f8 fixed arg --- diff --git a/src/dolphintabpage.cpp b/src/dolphintabpage.cpp index 0ed5fd2f2..5c42d41ec 100644 --- a/src/dolphintabpage.cpp +++ b/src/dolphintabpage.cpp @@ -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; diff --git a/src/dolphintabpage.h b/src/dolphintabpage.h index 023f216fc..1a97ea457 100644 --- a/src/dolphintabpage.h +++ b/src/dolphintabpage.h @@ -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.