From ed5b1d787bd51a419647c29e025d4edd44311924 Mon Sep 17 00:00:00 2001 From: David Sansome Date: Sun, 15 Jul 2012 13:23:14 +0100 Subject: [PATCH] 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. --- src/widgets/osdpretty.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/widgets/osdpretty.cpp b/src/widgets/osdpretty.cpp index 24594b621..f20768fce 100644 --- a/src/widgets/osdpretty.cpp +++ b/src/widgets/osdpretty.cpp @@ -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);