linux: adapt to latest qtbase changes
The X11 QPA has gained the ability to detect runtime theme changes in Qt 6.4.0 Signed-off-by: Yuhang Zhao <2546789017@qq.com>
This commit is contained in:
parent
c3338cd9b7
commit
5195a27022
|
@ -95,7 +95,7 @@ void FramelessHelperQt::addWindow(const SystemParameters ¶ms)
|
|||
params.setWindowFlags(params.getWindowFlags() | Qt::FramelessWindowHint);
|
||||
}
|
||||
window->installEventFilter(data.eventFilter);
|
||||
#ifdef Q_OS_LINUX
|
||||
#if (defined(Q_OS_LINUX) && (QT_VERSION < QT_VERSION_CHECK(6, 4, 0)))
|
||||
Utils::registerThemeChangeNotification();
|
||||
#endif
|
||||
#ifdef Q_OS_MACOS
|
||||
|
|
Loading…
Reference in New Issue