aboutsummaryrefslogtreecommitdiff
path: root/x11/konsole/files
diff options
context:
space:
mode:
Diffstat (limited to 'x11/konsole/files')
-rw-r--r--x11/konsole/files/patch-src_main.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/x11/konsole/files/patch-src_main.cpp b/x11/konsole/files/patch-src_main.cpp
new file mode 100644
index 000000000000..ed28776d6705
--- /dev/null
+++ b/x11/konsole/files/patch-src_main.cpp
@@ -0,0 +1,13 @@
+diff --git a/src/main.cpp b/src/main.cpp
+index 06f3ce491dbf58270ab5df38794903dab002bf39..b477109fd1a6bf4315efe21dcaaf89570fbd392d 100644
+--- src/main.cpp
++++ src/main.cpp
+@@ -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;
+ }
+
+ atexit(deleteQApplication);