This commit is contained in:
朱子楚\zhuzi 2023-12-18 23:56:28 +08:00
parent 6d2a8cde7a
commit af6e39d8c0
4 changed files with 5 additions and 11 deletions

View File

@ -30,6 +30,7 @@ SolidCompression=yes
WizardStyle=modern
UninstallDisplayIcon={app}\{#MyAppExeName}
SetupIconFile=.\..\favicon.ico
MinVersion = 6.0
[Languages]
Name: "chinesesimplified"; MessagesFile: "compiler:Languages\ChineseSimplified.isl"

View File

@ -6,7 +6,6 @@ project(example VERSION 1.0)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
#exmapleQMLimport example
set(QML_IMPORT_PATH ${CMAKE_BINARY_DIR}/example CACHE STRING "Qt Creator extra QML import paths" FORCE)

View File

@ -10,7 +10,6 @@ endif()
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
if (FLUENTUI_BUILD_STATIC_LIB)
add_definitions(-DFLUENTUI_BUILD_STATIC_LIB)
endif()

View File

@ -73,18 +73,13 @@ bool FramelessEventFilter::nativeEventFilter(const QByteArray &eventType, void *
}
return false;
}else if(uMsg == WM_NCACTIVATE){
if(isCompositionEnabled()){
*result = DefWindowProc(hwnd, uMsg, wParam, -1);
}else{
if (wParam == FALSE) {
*result = TRUE;
} else {
*result = FALSE;
}
}
if(!isCompositionEnabled()){
*result = 1;
return true;
}
return false;
}
return false;
#endif
return false;
}