┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorarnav dhamija <[email protected]>2017-02-13 17:08:10 +0530
committerarnav dhamija <[email protected]>2017-02-13 17:08:10 +0530
commitd5e692d16def63a6e874aab57aff4a8f6abfd1f8 (patch)
tree963e1f407701600902a23a391820734a36fc0e3f
parentb92ccf2ff5f3395e2e1d1cce71a9a2c32ab093a7 (diff)
fixed arg
-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.