summaryrefslogtreecommitdiffstats
path: root/ksmserver/server.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2014-10-05 16:01:32 -0500
committerTimothy Pearson <[email protected]>2014-10-05 16:02:26 -0500
commit699217f5ac7e8ccf5a023fb13b3a26d38c1d847b (patch)
tree1c05eb9489ae43f20c14f1075edc13759b19bd2a /ksmserver/server.cpp
parentcd928d143dc0f3c24bba655e3c26b615c5942812 (diff)
downloadtdebase-699217f5ac7e8ccf5a023fb13b3a26d38c1d847b.tar.gz
tdebase-699217f5ac7e8ccf5a023fb13b3a26d38c1d847b.zip
If drkonqi launches during logout show it after 30 seconds have elapsed
Diffstat (limited to 'ksmserver/server.cpp')
-rw-r--r--ksmserver/server.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/ksmserver/server.cpp b/ksmserver/server.cpp
index 1d98bc0a6..257d5f20c 100644
--- a/ksmserver/server.cpp
+++ b/ksmserver/server.cpp
@@ -972,6 +972,16 @@ bool KSMServer::isNotifier( const TQString& program ) const
return (program == "knotify");
}
+bool KSMServer::isCrashHandler( const KSMClient* client ) const
+{
+ return isNotifier( client->program());
+}
+
+bool KSMServer::isCrashHandler( const TQString& program ) const
+{
+ return (program == "drkonqi");
+}
+
bool KSMServer::defaultSession() const
{
return sessionGroup.isEmpty();