mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2025-01-22 20:04:32 +08:00
update
This commit is contained in:
parent
e5668869b9
commit
6da8117056
@ -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<HWND>(_window->winId());
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user