summaryrefslogtreecommitdiffstats
path: root/src/daemon/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/daemon/main.cpp')
-rw-r--r--src/daemon/main.cpp12
1 files changed, 5 insertions, 7 deletions
diff --git a/src/daemon/main.cpp b/src/daemon/main.cpp
index dbed5ef..7c3ca9e 100644
--- a/src/daemon/main.cpp
+++ b/src/daemon/main.cpp
@@ -1,10 +1,10 @@
/*
* main.cpp
*
- * Created on: May 11, 2021
- * Author: emanoil
+ * Copyright (C) 2021 Emanoil Kotsev <deloptes@gmail.com>
*
- * kdbusnotification Copyright (C) 2009 kdbusnotification development team
+ *
+ * This file is part of kdbusnotification.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2
@@ -20,8 +20,6 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <iostream>
-
#include <tdecmdlineargs.h>
#include <tdeaboutdata.h>
#include <tdemessagebox.h>
@@ -49,7 +47,7 @@ main(int argc, char **argv)
if (!KUniqueApplication::start())
{
- std::cerr << i18n("notification-daemon-tde is already running.\n").local8Bit();
+ tqDebug(i18n("notification-daemon-tde is already running.\n").local8Bit());
return 0;
}
@@ -60,7 +58,7 @@ main(int argc, char **argv)
{
KMessageBox::error(NULL,i18n("Can't connect to DBus!"));
// debug message for testing
- std::cerr << i18n("Can't connect to DBus!\n").local8Bit();
+ tqDebug(i18n("Can't connect to DBus!\n").local8Bit());
KUniqueApplication::kApplication()->quit();
return 0;
}