Use #if instead of #ifdef
Fixes previous attempt to unbreak the build on Windows
This commit is contained in:
parent
e3ffa8d8fe
commit
f43938f4c2
|
@ -304,7 +304,7 @@ void DialogPrivate::updateVisibility(bool visible)
|
|||
updateLayoutParameters();
|
||||
}
|
||||
|
||||
#ifdef HAVE_KWAYLAND
|
||||
#if HAVE_KWAYLAND
|
||||
//if is a wayland window that was hidden, we need
|
||||
//to set its position again as there won't be any move event to sync QWindow::position and shellsurface::position
|
||||
if (shellSurface) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user