From b4a5ba541de3f0df3f69c6dee99053197574abce Mon Sep 17 00:00:00 2001 From: Cranken Date: Mon, 2 Apr 2018 11:46:56 +0200 Subject: [PATCH] Fixed crash upon starting Fixes issue #304 --- src/widgets/basewindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;