┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorarnav dhamija <[email protected]>2017-01-29 23:31:43 +0530
committerarnav dhamija <[email protected]>2017-01-29 23:31:43 +0530
commite8a48689431e0fc7b9ae0ed3fd0113227d4b99cb (patch)
treeafee763e47b95084497e55201f2274389da2bdbd
parent68cda76aa8f552246db136fa61303f9678cea7e7 (diff)
Made more changes
-rw-r--r--src/dolphinmainwindow.cpp2
-rw-r--r--src/dolphintabpage.cpp2
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;