diff options
Diffstat (limited to 'src/x11extras/qx11info_x11.h')
-rw-r--r-- | src/x11extras/qx11info_x11.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/x11extras/qx11info_x11.h b/src/x11extras/qx11info_x11.h index c0bfbf8..20f048a 100644 --- a/src/x11extras/qx11info_x11.h +++ b/src/x11extras/qx11info_x11.h @@ -63,7 +63,11 @@ public: static int appDpiX(int screen=-1); static int appDpiY(int screen=-1); +#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0) static unsigned long appRootWindow(int screen=-1); +#else + static quint32 appRootWindow(int screen=-1); +#endif static int appScreen(); static unsigned long appTime(); |