projects
/
quassel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9d32e4e
)
debug--
author
Manuel Nickschas
<sputnick@quassel-irc.org>
Sun, 6 Jul 2008 00:07:41 +0000
(
02:07
+0200)
committer
Manuel Nickschas
<sputnick@quassel-irc.org>
Tue, 22 Jul 2008 19:42:36 +0000
(21:42 +0200)
src/qtui/mainwin.cpp
patch
|
blob
|
history
diff --git
a/src/qtui/mainwin.cpp
b/src/qtui/mainwin.cpp
index
7efe5f2
..
66d4f6f
100644
(file)
--- a/
src/qtui/mainwin.cpp
+++ b/
src/qtui/mainwin.cpp
@@
-662,24
+662,25
@@
void MainWin::sendDesktopNotification(const QString &title, const QString &messa
if(!reply.isValid()) {
/* ERROR */
if(!reply.isValid()) {
/* ERROR */
- qDebug() << "Error on sending notification..." << reply;
+ // could also happen if no notification service runs, so... whatever :)
+ //qDebug() << "Error on sending notification..." << reply.error();
return;
}
notificationId = reply.value();
return;
}
notificationId = reply.value();
- qDebug() << "ID: " << notificationId << " Time: " << QTime::currentTime().toString();
+
//
qDebug() << "ID: " << notificationId << " Time: " << QTime::currentTime().toString();
}
void MainWin::desktopNotificationClosed(uint id, uint reason) {
}
void MainWin::desktopNotificationClosed(uint id, uint reason) {
- qDebug() << "OID: " << notificationId << " ID: " << id << " Reason: " << reason << " Time: " << QTime::currentTime().toString();
+
//
qDebug() << "OID: " << notificationId << " ID: " << id << " Reason: " << reason << " Time: " << QTime::currentTime().toString();
notificationId = 0;
}
void MainWin::desktopNotificationInvoked(uint id, const QString & action) {
notificationId = 0;
}
void MainWin::desktopNotificationInvoked(uint id, const QString & action) {
- qDebug() << "OID: " << notificationId << " ID: " << id << " Action: " << action << " Time: " << QTime::currentTime().toString();
+
//
qDebug() << "OID: " << notificationId << " ID: " << id << " Action: " << action << " Time: " << QTime::currentTime().toString();
}
#else /* HAVE_DBUS */
}
#else /* HAVE_DBUS */