Remove the tooltip flag on the pretty OSD on Windows, to remove the
drop-shadow that was added to tooltip windows in Qt 4.8 (QTBUG-13276). Fixes issue 3017.
This commit is contained in:
parent
2035c3e7f5
commit
ed5b1d787b
|
@ -69,10 +69,6 @@ OSDPretty::OSDPretty(Mode mode, QWidget *parent)
|
||||||
Qt::WindowFlags flags = Qt::FramelessWindowHint | Qt::WindowStaysOnTopHint |
|
Qt::WindowFlags flags = Qt::FramelessWindowHint | Qt::WindowStaysOnTopHint |
|
||||||
Qt::X11BypassWindowManagerHint;
|
Qt::X11BypassWindowManagerHint;
|
||||||
|
|
||||||
#ifdef Q_OS_WIN32
|
|
||||||
flags |= Qt::ToolTip;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
setWindowFlags(flags);
|
setWindowFlags(flags);
|
||||||
setAttribute(Qt::WA_TranslucentBackground, true);
|
setAttribute(Qt::WA_TranslucentBackground, true);
|
||||||
setAttribute(Qt::WA_X11NetWmWindowTypeNotification, true);
|
setAttribute(Qt::WA_X11NetWmWindowTypeNotification, true);
|
||||||
|
|
Loading…
Reference in New Issue