From 39683b2980189bebcb35955eaa6aa0ae7cd353a7 Mon Sep 17 00:00:00 2001 From: Alexander Volkov <a.volkov@rusbitech.ru> Date: Fri, 24 Apr 2015 15:53:01 +0300 Subject: [PATCH] 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> --- src/widgets/util/qsystemtrayicon_x11.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/widgets/util/qsystemtrayicon_x11.cpp b/src/widgets/util/qsystemtrayicon_x11.cpp index 2b153d53d97..4060655d450 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); } -- GitLab