mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-23 20:14:05 +00:00
fix: set scanPopup flags to what's is needed instead of Qt::Popup
Some checks failed
SonarCloud / Build and analyze (push) Has been cancelled
Some checks failed
SonarCloud / Build and analyze (push) Has been cancelled
This commit is contained in:
parent
94ea6c570c
commit
7f497b0cdf
|
@ -22,14 +22,13 @@
|
||||||
#endif
|
#endif
|
||||||
#include "base_type.hh"
|
#include "base_type.hh"
|
||||||
|
|
||||||
/// We use different window flags under Windows and X11 due to slight differences
|
|
||||||
/// in their behavior on those platforms.
|
|
||||||
static const Qt::WindowFlags defaultUnpinnedWindowFlags =
|
static const Qt::WindowFlags defaultUnpinnedWindowFlags =
|
||||||
|
|
||||||
#if defined( Q_OS_WIN )
|
#if defined( Q_OS_WIN )
|
||||||
Qt::Tool | Qt::FramelessWindowHint | Qt::WindowStaysOnTopHint
|
Qt::Tool | Qt::FramelessWindowHint | Qt::WindowStaysOnTopHint
|
||||||
#else
|
#else
|
||||||
Qt::Popup
|
Qt::FramelessWindowHint | Qt::WindowStaysOnTopHint
|
||||||
#endif
|
#endif
|
||||||
;
|
;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue