Fix compilation without extra-cmake-modules

This commit is contained in:
Cacodemon345
2025-05-07 20:22:38 +06:00
committed by GitHub
parent 91399fb516
commit 39fdda6dd9

View File

@@ -672,7 +672,7 @@ main(int argc, char *argv[])
} else {
main_window->show();
}
#ifdef __unix__
#ifdef WAYLAND
if (QApplication::platformName().contains("wayland")) {
/* Force a sync. */
(void)main_window->winId();