From e6314652316f407d021cb0e9a352dd22e79db229 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=B1=E5=AD=90=E6=A5=9A=5Czhuzi?= Date: Wed, 4 Oct 2023 21:13:38 +0800 Subject: [PATCH] update --- example/src/main.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/example/src/main.cpp b/example/src/main.cpp index f0aedb3f..3236f7fe 100644 --- a/example/src/main.cpp +++ b/example/src/main.cpp @@ -27,6 +27,7 @@ FRAMELESSHELPER_USE_NAMESPACE int main(int argc, char *argv[]) { + QNetworkProxy::setApplicationProxy(QNetworkProxy::NoProxy); #if (QT_VERSION < QT_VERSION_CHECK(6, 0, 0)) QGuiApplication::setAttribute(Qt::AA_EnableHighDpiScaling); QGuiApplication::setAttribute(Qt::AA_UseHighDpiPixmaps); @@ -48,8 +49,8 @@ int main(int argc, char *argv[]) #endif } QGuiApplication app(argc, argv); -// QLoggingCategory::setFilterRules(QStringLiteral("qt.scenegraph.general=true")); -// qSetMessagePattern("%{category}: %{message}"); + // QLoggingCategory::setFilterRules(QStringLiteral("qt.scenegraph.general=true")); + // qSetMessagePattern("%{category}: %{message}"); FramelessConfig::instance()->set(Global::Option::DisableLazyInitializationForMicaMaterial); FramelessConfig::instance()->set(Global::Option::CenterWindowBeforeShow); FramelessConfig::instance()->set(Global::Option::ForceNonNativeBackgroundBlur);