mirror of
https://invent.kde.org/system/dolphin
synced 2024-09-12 12:54:29 +00:00
fixed arg
This commit is contained in:
parent
b92ccf2ff5
commit
d5e692d16d
|
@ -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;
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue