win32: fix typo

Signed-off-by: Yuhang Zhao <2546789017@qq.com>
This commit is contained in:
Yuhang Zhao 2022-07-25 09:35:02 +08:00
parent 1264fe8341
commit 14a3440bbf
1 changed files with 1 additions and 1 deletions

View File

@ -429,7 +429,7 @@ Q_GLOBAL_STATIC(Win32Helper, g_win32Helper)
WARNING << Utils::getSystemErrorMessage(kGetModuleHandleW);
return false;
}
static const bool fallbackTitleBarWindowClass = [instance]() -> ATOM {
static const bool fallbackTitleBarWindowClass = [instance]() -> bool {
WNDCLASSEXW wcex = {};
// First try to find out if we have registered the window class already.
if (GetClassInfoExW(instance, kFallbackTitleBarWindowClassName, &wcex) != FALSE) {