1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
|
Description: fix build with https://codereview.qt-project.org/c/qt/qtbase/+/463665
Author: Dmitry Shachnev <mitya57@debian.org>
Forwarded: not-needed (vanilla Qt 5 does not have that patch)
Last-Update: 2024-09-13
--- a/src/qt5ct-qtplugin/qt5ctplatformtheme.cpp
+++ b/src/qt5ct-qtplugin/qt5ctplatformtheme.cpp
@@ -118,7 +118,7 @@ QPlatformSystemTrayIcon *Qt5CTPlatformTh
if(m_checkDBusTray)
{
QDBusMenuConnection conn;
- m_dbusTrayAvailable = conn.isStatusNotifierHostRegistered();
+ m_dbusTrayAvailable = conn.isWatcherRegistered();
m_checkDBusTray = false;
qCDebug(lqt5ct) << "D-Bus system tray:" << (m_dbusTrayAvailable ? "yes" : "no");
}
|