Fix build on Linux.
This commit is contained in:
parent
84e0979f47
commit
794ea13f7e
1 changed files with 1 additions and 1 deletions
|
|
@ -247,7 +247,7 @@ bool UnsetWindowExtents(QWindow *window) {
|
||||||
bool ShowWindowMenu(QWindow *window) {
|
bool ShowWindowMenu(QWindow *window) {
|
||||||
if (const auto integration = WaylandIntegration::Instance()) {
|
if (const auto integration = WaylandIntegration::Instance()) {
|
||||||
return integration->showWindowMenu(window);
|
return integration->showWindowMenu(window);
|
||||||
} else if (Platform::IsX11()) {
|
} else if (::Platform::IsX11()) {
|
||||||
#ifndef DESKTOP_APP_DISABLE_X11_INTEGRATION
|
#ifndef DESKTOP_APP_DISABLE_X11_INTEGRATION
|
||||||
return ShowXCBWindowMenu(window);
|
return ShowXCBWindowMenu(window);
|
||||||
#else // !DESKTOP_APP_DISABLE_X11_INTEGRATION
|
#else // !DESKTOP_APP_DISABLE_X11_INTEGRATION
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue