From d5e692d16def63a6e874aab57aff4a8f6abfd1f8 Mon Sep 17 00:00:00 2001 From: arnav dhamija Date: Mon, 13 Feb 2017 17:08:10 +0530 Subject: [PATCH] fixed arg --- src/dolphintabpage.cpp | 2 +- src/dolphintabpage.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dolphintabpage.cpp b/src/dolphintabpage.cpp index 0ed5fd2f27..5c42d41ec7 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 023f216fc3..1a97ea4573 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.