Commit 59ff5d37 authored by Tomaz Canabrava's avatar Tomaz Canabrava Committed by Kurt Hindenburg
Browse files

Correctly trigger a Konsole window when using single process

Konsole was not opening a new tab when --new-tab is specified.
Even if we change the konsole settings to open in a unique PID,
we could open a new window sometimes.

See for KDBusAddons patch
parent 78b8b4c7
......@@ -167,6 +167,8 @@ extern "C" int Q_DECL_EXPORT kdemain(int argc, char *argv[])
if (!Konsole::KonsoleSettings::useSingleInstance()
&& !parser->isSet(QStringLiteral("new-tab"))) {
startupOption = KDBusService::Multiple;
} else if (Konsole::KonsoleSettings::useSingleInstance()) {
startupOption = KDBusService::Unique;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment