File: watcher_registered.patch

package info (click to toggle)
qt5ct 1.8-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 1,896 kB
  • sloc: cpp: 2,351; sh: 64; makefile: 4
file content (16 lines) | stat: -rw-r--r-- 699 bytes parent folder | download
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");
     }