┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/dolphintabpage.cpp2
-rw-r--r--src/dolphintabpage.h2
2 files changed, 2 insertions, 2 deletions
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.