mirror of
https://invent.kde.org/system/dolphin
synced 2024-09-12 12:54:29 +00:00
Made more changes
This commit is contained in:
parent
68cda76aa8
commit
e8a4868943
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue