mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 15:24: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
|
||||
#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 =
|
||||
|
||||
#if defined( Q_OS_WIN )
|
||||
Qt::Tool | Qt::FramelessWindowHint | Qt::WindowStaysOnTopHint
|
||||
#else
|
||||
Qt::Popup
|
||||
Qt::FramelessWindowHint | Qt::WindowStaysOnTopHint
|
||||
#endif
|
||||
;
|
||||
|
||||
|
|
Loading…
Reference in a new issue