diff options
| author | arnav dhamija <[email protected]> | 2017-02-13 17:08:10 +0530 |
|---|---|---|
| committer | arnav dhamija <[email protected]> | 2017-02-13 17:08:10 +0530 |
| commit | d5e692d16def63a6e874aab57aff4a8f6abfd1f8 (patch) | |
| tree | 963e1f407701600902a23a391820734a36fc0e3f /src | |
| parent | b92ccf2ff5f3395e2e1d1cce71a9a2c32ab093a7 (diff) | |
fixed arg
Diffstat (limited to 'src')
| -rw-r--r-- | src/dolphintabpage.cpp | 2 | ||||
| -rw-r--r-- | src/dolphintabpage.h | 2 |
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. |
