Use #if instead of #ifdef

Fixes previous attempt to unbreak the build on Windows
This commit is contained in:
Bhushan Shah 2017-06-25 10:39:53 +05:30
parent e3ffa8d8fe
commit f43938f4c2

View File

@ -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) {