summaryrefslogtreecommitdiffstats
path: root/src/daemon/main.cpp
diff options
context:
space:
mode:
authorEmanoil Kotsev <[email protected]>2024-06-26 20:21:35 +0000
committerEmanoil Kotsev <[email protected]>2024-11-09 18:49:26 +0000
commit7ea09f3f10350e44b8b41566f50449219cf6a4bf (patch)
tree13f43bb3f49078d63cdc992a5f50301bcba6e10d /src/daemon/main.cpp
parentfddb92945609b0b1f69967a9729f030b712ebdca (diff)
downloadkdbusnotification-7ea09f3f10350e44b8b41566f50449219cf6a4bf.tar.gz
kdbusnotification-7ea09f3f10350e44b8b41566f50449219cf6a4bf.zip
Update and clean up
Signed-off-by: Emanoil Kotsev <[email protected]>
Diffstat (limited to 'src/daemon/main.cpp')
-rw-r--r--src/daemon/main.cpp13
1 files changed, 1 insertions, 12 deletions
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();
}