mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-17 03:45:56 +01:00
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::X11BypassWindowManagerHint;
|
||||
|
||||
#ifdef Q_OS_WIN32
|
||||
flags |= Qt::ToolTip;
|
||||
#endif
|
||||
|
||||
setWindowFlags(flags);
|
||||
setAttribute(Qt::WA_TranslucentBackground, true);
|
||||
setAttribute(Qt::WA_X11NetWmWindowTypeNotification, true);
|
||||
|
Loading…
Reference in New Issue
Block a user