From 6da811705674a182be70949dc1960c00b88d6687 Mon Sep 17 00:00:00 2001 From: zhuzichu Date: Thu, 14 Dec 2023 09:41:14 +0800 Subject: [PATCH] update --- src/FluFrameless.cpp | 1 - src/FluentUI.cpp | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/FluFrameless.cpp b/src/FluFrameless.cpp index dca0d462..194c6f4f 100644 --- a/src/FluFrameless.cpp +++ b/src/FluFrameless.cpp @@ -152,7 +152,6 @@ void FluFrameless::componentComplete(){ _window->setFlag(Qt::FramelessWindowHint,true); _window->installEventFilter(this); #ifdef Q_OS_WIN - qDebug()<<"---------"; _nativeEvent =new FramelessEventFilter(_window); qApp->installNativeEventFilter(_nativeEvent); HWND hWnd = reinterpret_cast(_window->winId()); diff --git a/src/FluentUI.cpp b/src/FluentUI.cpp index bc8749fa..25927e7e 100644 --- a/src/FluentUI.cpp +++ b/src/FluentUI.cpp @@ -161,7 +161,7 @@ void FluentUI::registerTypes(const char *uri){ void FluentUI::initializeEngine(QQmlEngine *engine, const char *uri){ #ifdef Q_OS_WIN QFont font; - font.setFamily("Microsoft YaHei UI"); + font.setFamily("微软雅黑"); QGuiApplication::setFont(font); #endif FluApp* app = FluApp::getInstance();