From 1ca784c28f2621a51d47147491fee2b81fcf02d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=B1=E5=AD=90=E6=A5=9A=5Czhuzi?= Date: Sun, 21 May 2023 21:34:30 +0800 Subject: [PATCH] update --- example/src/main.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/example/src/main.cpp b/example/src/main.cpp index 879a5e98..9dac27ab 100644 --- a/example/src/main.cpp +++ b/example/src/main.cpp @@ -1,4 +1,4 @@ -#include +#include #include #include #include @@ -22,11 +22,12 @@ FRAMELESSHELPER_USE_NAMESPACE QGuiApplication::setApplicationName("FluentUI"); QGuiApplication app(argc, argv); FramelessConfig::instance()->set(Global::Option::ForceHideWindowFrameBorder); -#ifndef QT_OS_WIN - FramelessConfig::instance()->set(Global::Option::EnableBlurBehindWindow); -#endif FramelessConfig::instance()->set(Global::Option::DisableLazyInitializationForMicaMaterial); FramelessConfig::instance()->set(Global::Option::CenterWindowBeforeShow); + FramelessConfig::instance()->set(Global::Option::EnableBlurBehindWindow); +#ifndef QT_OS_WIN + FramelessConfig::instance()->set(Global::Option::EnableBlurBehindWindow,false); +#endif AppInfo* appInfo = new AppInfo(); IPC ipc(0); QString activeWindowEvent = "activeWindow";