Fix build on Linux.

This commit is contained in:
John Preston 2021-03-02 17:27:58 +04:00
parent 84e0979f47
commit 794ea13f7e

View file

@ -247,7 +247,7 @@ bool UnsetWindowExtents(QWindow *window) {
bool ShowWindowMenu(QWindow *window) {
if (const auto integration = WaylandIntegration::Instance()) {
return integration->showWindowMenu(window);
} else if (Platform::IsX11()) {
} else if (::Platform::IsX11()) {
#ifndef DESKTOP_APP_DISABLE_X11_INTEGRATION
return ShowXCBWindowMenu(window);
#else // !DESKTOP_APP_DISABLE_X11_INTEGRATION