diff --git a/src/core/framelesshelper_qt.cpp b/src/core/framelesshelper_qt.cpp index a81a507..15f7d65 100644 --- a/src/core/framelesshelper_qt.cpp +++ b/src/core/framelesshelper_qt.cpp @@ -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