diff options
author | Alexander Volkov <a.volkov@rusbitech.ru> | 2015-04-24 15:53:01 +0300 |
---|---|---|
committer | Shawn Rutledge <shawn.rutledge@digia.com> | 2015-04-27 19:32:06 +0000 |
commit | 39683b2980189bebcb35955eaa6aa0ae7cd353a7 (patch) | |
tree | 8b7986e5b0f6ba43bb57ca06ce367fda0e741ee4 | |
parent | 0823e3f746161da030d24797a9f17c54f6fd763e (diff) |
QSystemTrayIcon: Fix the placement of title and message in a balloon
Swap title and message parameters in the QBalloonTip::showBalloon() call.
It was wrong in f277c074675389eba0b27f2ccadddd98869fdfbb on xcb platform.
Task-number: QTBUG-43428
Change-Id: I18e354703d9fa9c196b2789e6df263debdb7ce06
Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com>
-rw-r--r-- | src/widgets/util/qsystemtrayicon_x11.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/util/qsystemtrayicon_x11.cpp b/src/widgets/util/qsystemtrayicon_x11.cpp index 2b153d53d9..4060655d45 100644 --- a/src/widgets/util/qsystemtrayicon_x11.cpp +++ b/src/widgets/util/qsystemtrayicon_x11.cpp @@ -372,7 +372,7 @@ void QSystemTrayIconPrivate::showMessage_sys(const QString &title, const QString } if (!sys) return; - QBalloonTip::showBalloon(icon, message, title, sys->systemTrayIcon(), + QBalloonTip::showBalloon(icon, title, message, sys->systemTrayIcon(), sys->globalGeometry().center(), msecs); } |