From: arnav dhamija Date: Sun, 29 Jan 2017 18:01:43 +0000 (+0530) Subject: Made more changes X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/e8a48689431e0fc7b9ae0ed3fd0113227d4b99cb?ds=sidebyside Made more changes --- 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;