Argument error in desktop notification message.
authorDennis Schridde <devurandom@gna.org>
Wed, 21 May 2008 14:47:43 +0000 (16:47 +0200)
committerManuel Nickschas <sputnick@quassel-irc.org>
Tue, 22 Jul 2008 19:42:35 +0000 (21:42 +0200)
src/qtui/mainwin.cpp

index ab47a30..7d22ac6 100644 (file)
@@ -652,7 +652,7 @@ void MainWin::sendDesktopNotification(const QString &title, const QString &messa
                notificationId, // ID of previous notification to replace
                "", // Icon to display
                title, // Summary / Header of the message to display
                notificationId, // ID of previous notification to replace
                "", // Icon to display
                title, // Summary / Header of the message to display
-               QString("%1: %2:\n%2").arg(QTime::currentTime().toString()).arg(title).arg(message), // Body of the message to display
+               QString("%1: %2:\n%3").arg(QTime::currentTime().toString()).arg(title).arg(message), // Body of the message to display
                actions, // Actions from which the user may choose
                hints, // Hints to the server displaying the message
                uiSettings.value("NotificationDesktopTimeout", QVariant(5000)).toInt() // Timeout in milliseconds
                actions, // Actions from which the user may choose
                hints, // Hints to the server displaying the message
                uiSettings.value("NotificationDesktopTimeout", QVariant(5000)).toInt() // Timeout in milliseconds