diff --git a/src/widgets/basewindow.cpp b/src/widgets/basewindow.cpp index c85bec6fc..bb7eda861 100644 --- a/src/widgets/basewindow.cpp +++ b/src/widgets/basewindow.cpp @@ -148,7 +148,7 @@ QWidget *BaseWindow::getLayoutContainer() bool BaseWindow::hasCustomWindowFrame() { -#ifdef Q_OS_WIN +#ifdef USEWINSDK return this->enableCustomFrame; #else return false;