projects
/
quassel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
dd10a98
)
Formatting fixes
author
Manuel Nickschas
<sputnick@quassel-irc.org>
Fri, 4 Jul 2008 00:02:34 +0000
(
02:02
+0200)
committer
Manuel Nickschas
<sputnick@quassel-irc.org>
Tue, 22 Jul 2008 19:42:35 +0000
(21:42 +0200)
src/qtui/mainwin.cpp
patch
|
blob
|
history
diff --git
a/src/qtui/mainwin.cpp
b/src/qtui/mainwin.cpp
index
d874a21
..
2ae203d
100644
(file)
--- a/
src/qtui/mainwin.cpp
+++ b/
src/qtui/mainwin.cpp
@@
-659,29
+659,26
@@
void MainWin::sendDesktopNotification(const QString &title, const QString &messa
uiSettings.value("NotificationDesktopTimeout", QVariant(5000)).toInt() // Timeout in milliseconds
);
uiSettings.value("NotificationDesktopTimeout", QVariant(5000)).toInt() // Timeout in milliseconds
);
- if (!reply.isValid())
- {
- /* ERROR */
- qDebug() << "Error on sending notification...";
- return;
- }
+ if(!reply.isValid()) {
+ /* ERROR */
+ qDebug() << "Error on sending notification...";
+ return;
+ }
-
notificationId = reply.value();
+ notificationId = reply.value();
-
qDebug() << "ID: " << notificationId << " Time: " << QTime::currentTime().toString();
+ qDebug() << "ID: " << notificationId << " Time: " << QTime::currentTime().toString();
}
}
-void MainWin::desktopNotificationClosed(uint id, uint reason)
-{
- qDebug() << "OID: " << notificationId << " ID: " << id << " Reason: " << reason << " Time: " << QTime::currentTime().toString();
- notificationId = 0;
+void MainWin::desktopNotificationClosed(uint id, uint reason) {
+ qDebug() << "OID: " << notificationId << " ID: " << id << " Reason: " << reason << " Time: " << QTime::currentTime().toString();
+ notificationId = 0;
}
}
-void MainWin::desktopNotificationInvoked(uint id, const QString & action)
-{
- qDebug() << "OID: " << notificationId << " ID: " << id << " Action: " << action << " Time: " << QTime::currentTime().toString();
+void MainWin::desktopNotificationInvoked(uint id, const QString & action) {
+ qDebug() << "OID: " << notificationId << " ID: " << id << " Action: " << action << " Time: " << QTime::currentTime().toString();
}
#endif /* HAVE_DBUS */
}
#endif /* HAVE_DBUS */