From e5c852ecba781247d7c441ab8f7f1b5ff64edd57 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;