┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dbusinterface.cpp
diff options
context:
space:
mode:
authorAlexander Saoutkin <[email protected]>2019-06-23 13:22:41 +0200
committerNate Graham <[email protected]>2019-06-23 13:27:25 +0200
commit2647dc47d4ba636e4d1dc350bc48c7983ba0fc93 (patch)
treecf747956bd023d64b8f657b21023381e28dc65e0 /src/dbusinterface.cpp
parent0a06b1764cd309e4ec5805eb78ac77a9ca0de4fd (diff)
Adding option to open externally called folder in a new tab
Summary: Adds an option to open externally called folder in a new tab. By default this option is enabled Test Plan: If option selected: 1. All valid arguments passed to Dolphin should be opened in tabs of an instance(s) (if it exists). Duplicate tabs just change activation to current tab. If option not selected: 1. All calls to Dolphin result in a new instance being opened This option does not require Dolphin to be restarted to take effect. Reviewers: #dolphin, elvisangelaccio, ngraham Reviewed By: #dolphin, ngraham Subscribers: broulik, ngraham, kfm-devel Tags: #dolphin Differential Revision: https://phabricator.kde.org/D21736
Diffstat (limited to 'src/dbusinterface.cpp')
-rw-r--r--src/dbusinterface.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dbusinterface.cpp b/src/dbusinterface.cpp
index 4e24354ab..15016d2e0 100644
--- a/src/dbusinterface.cpp
+++ b/src/dbusinterface.cpp
@@ -59,7 +59,7 @@ void DBusInterface::ShowItems(const QStringList& uriList, const QString& startUp
}
const auto serviceName = QStringLiteral("org.kde.dolphin-%1").arg(QCoreApplication::applicationPid());
if(!Dolphin::attachToExistingInstance(urls, true, GeneralSettings::splitView(), serviceName)) {
- Dolphin::openNewWindow(urls);
+ Dolphin::openNewWindow(urls, nullptr, Dolphin::OpenNewWindowFlag::Select);
};
}