MacOS: Fix popup window in Qt 5.3

This commit is contained in:
Abs62 2014-10-03 15:30:49 +04:00
parent 15b10bcbc9
commit c42be480f5

View file

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