From c42be480f5d424898c9565dde71940a6aa3683e4 Mon Sep 17 00:00:00 2001 From: Abs62 Date: Fri, 3 Oct 2014 15:30:49 +0400 Subject: [PATCH] MacOS: Fix popup window in Qt 5.3 --- scanpopup.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scanpopup.cc b/scanpopup.cc index 84b1e2a8..8e1f2d6d 100644 --- a/scanpopup.cc +++ b/scanpopup.cc @@ -26,7 +26,7 @@ using std::wstring; /// in their behavior on those platforms. static Qt::WindowFlags popupWindowFlags = -#if defined (Q_OS_WIN) || defined (Q_OS_MAC) +#if defined (Q_OS_WIN) || ( defined (Q_OS_MAC) && QT_VERSION < QT_VERSION_CHECK( 5, 3, 0 ) ) Qt::Tool | Qt::FramelessWindowHint | Qt::WindowStaysOnTopHint #else Qt::Popup