Make the pretty OSD skip the taskbar on Windows.

This commit is contained in:
David Sansome 2010-05-03 22:36:28 +00:00
parent c59afce5ee
commit 6e3cab8667

View File

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