Fix compilation without extra-cmake-modules
This commit is contained in:
@@ -672,7 +672,7 @@ main(int argc, char *argv[])
|
|||||||
} else {
|
} else {
|
||||||
main_window->show();
|
main_window->show();
|
||||||
}
|
}
|
||||||
#ifdef __unix__
|
#ifdef WAYLAND
|
||||||
if (QApplication::platformName().contains("wayland")) {
|
if (QApplication::platformName().contains("wayland")) {
|
||||||
/* Force a sync. */
|
/* Force a sync. */
|
||||||
(void)main_window->winId();
|
(void)main_window->winId();
|
||||||
|
|||||||
Reference in New Issue
Block a user