From 7ea09f3f10350e44b8b41566f50449219cf6a4bf Mon Sep 17 00:00:00 2001 From: Emanoil Kotsev Date: Wed, 26 Jun 2024 20:21:35 +0000 Subject: Update and clean up Signed-off-by: Emanoil Kotsev --- src/daemon/main.cpp | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'src/daemon/main.cpp') diff --git a/src/daemon/main.cpp b/src/daemon/main.cpp index 8719153..bda9aa5 100644 --- a/src/daemon/main.cpp +++ b/src/daemon/main.cpp @@ -54,16 +54,5 @@ main(int argc, char **argv) NotificationDaemon app; app.disableSessionManagement(); - if (!app.isConnectedToDBUS()) - { - KMessageBox::error(NULL,i18n("Can't connect to DBus!")); - // debug message for testing - tqDebug(i18n("Can't connect to DBus!\n").local8Bit()); - KUniqueApplication::kApplication()->quit(); - return -1; - } - else - { - return app.exec(); - } + return app.exec(); } -- cgit v1.2.1