diff options
| -rw-r--r-- | src/dolphinmainwindow.cpp | 2 | ||||
| -rw-r--r-- | src/dolphintabpage.cpp | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp index 412d4fb2e..09fc7732b 100644 --- a/src/dolphinmainwindow.cpp +++ b/src/dolphinmainwindow.cpp @@ -528,11 +528,9 @@ void DolphinMainWindow::toggleSplitStash() { DolphinTabPage* tabPage = m_tabWidget->currentTabPage(); QAction* stashSplit = actionCollection()->action(QStringLiteral("split_stash")); - //stashSplit->setEnabled(false); if (stashSplit->isChecked()) { tabPage->setSplitViewEnabled(false); tabPage->setSplitViewEnabled(true, QUrl("stash:/")); - stashSplit->setChecked(true); } else { tabPage->setSplitViewEnabled(false); } diff --git a/src/dolphintabpage.cpp b/src/dolphintabpage.cpp index 9d239fdfc..0ed5fd2f2 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 /*= QUrl()*/) +void DolphinTabPage::setSplitViewEnabled(bool enabled, QUrl secondaryUrl) { if (m_splitViewEnabled != enabled) { m_splitViewEnabled = enabled; |
