summaryrefslogtreecommitdiffstats
path: root/kdcop/kdcop.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2020-11-28 20:34:25 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2020-11-28 20:34:25 +0900
commite13283fb02daf24eaf8fdb98057cf03c1bd46fd4 (patch)
tree797d9389d4c9157d4b37d93c8cffd008d1f7dc5a /kdcop/kdcop.cpp
parent510eea8e7328f8109aab4af5c0ed840b1fca6bbf (diff)
downloadtdebase-e13283fb02daf24eaf8fdb98057cf03c1bd46fd4.tar.gz
tdebase-e13283fb02daf24eaf8fdb98057cf03c1bd46fd4.zip
kdcop: avoid registering 'anonymous' dcop clients. This was causing 'DCOP
aborting call' warning messages in .xsession-errors in some conditions. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kdcop/kdcop.cpp')
-rw-r--r--kdcop/kdcop.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/kdcop/kdcop.cpp b/kdcop/kdcop.cpp
index 436a4a59a..018976eaa 100644
--- a/kdcop/kdcop.cpp
+++ b/kdcop/kdcop.cpp
@@ -8,6 +8,7 @@
#include <tdeaboutdata.h>
#include <tdecmdlineargs.h>
+#include <dcopclient.h>
#include "kdcopwindow.h"
static const TDECmdLineOptions options[] =
@@ -31,6 +32,7 @@ int main( int argc, char ** argv )
KDCOPWindow* kdcopwindow = new KDCOPWindow;
a.setMainWidget( kdcopwindow );
+ a.dcopClient()->attach();
kdcopwindow->show();
return a.exec();