Make the pretty OSD skip the taskbar on Windows.
This commit is contained in:
parent
c59afce5ee
commit
6e3cab8667
@ -56,6 +56,10 @@ OSDPretty::OSDPretty(Mode mode, QWidget *parent)
|
||||
Qt::WindowFlags flags = Qt::FramelessWindowHint | Qt::WindowStaysOnTopHint |
|
||||
Qt::X11BypassWindowManagerHint;
|
||||
|
||||
#ifdef Q_OS_WIN32
|
||||
flags |= Qt::ToolTip;
|
||||
#endif
|
||||
|
||||
setWindowFlags(flags);
|
||||
setAttribute(Qt::WA_TranslucentBackground, true);
|
||||
ui_.setupUi(this);
|
||||
|
Loading…
x
Reference in New Issue
Block a user