mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-24 04:24:09 +00:00
MacOS: Fix popup window in Qt 5.3
This commit is contained in:
parent
15b10bcbc9
commit
c42be480f5
|
@ -26,7 +26,7 @@ using std::wstring;
|
||||||
/// in their behavior on those platforms.
|
/// in their behavior on those platforms.
|
||||||
static Qt::WindowFlags popupWindowFlags =
|
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
|
Qt::Tool | Qt::FramelessWindowHint | Qt::WindowStaysOnTopHint
|
||||||
#else
|
#else
|
||||||
Qt::Popup
|
Qt::Popup
|
||||||
|
|
Loading…
Reference in a new issue