From: Dennis Schridde Date: Wed, 21 May 2008 14:47:43 +0000 (+0200) Subject: Argument error in desktop notification message. X-Git-Tag: 0.3.0~235 X-Git-Url: https://git.quassel-irc.org/?a=commitdiff_plain;h=5931bed270b86e110480561a2bf665dc59747280;p=quassel.git Argument error in desktop notification message. --- diff --git a/src/qtui/mainwin.cpp b/src/qtui/mainwin.cpp index ab47a30e..7d22ac6f 100644 --- a/src/qtui/mainwin.cpp +++ b/src/qtui/mainwin.cpp @@ -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 - 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