From 157d0ed836d8a619a7b99c427c4be138d185eff3 Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Tue, 27 May 2014 13:57:34 +0200 Subject: [PATCH] use Qt::BypassWindowManagerHint BUG:335267 --- src/declarativeimports/core/tooltipdialog.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/declarativeimports/core/tooltipdialog.cpp b/src/declarativeimports/core/tooltipdialog.cpp index 86b956dc1..a70b92eac 100644 --- a/src/declarativeimports/core/tooltipdialog.cpp +++ b/src/declarativeimports/core/tooltipdialog.cpp @@ -35,7 +35,7 @@ ToolTipDialog::ToolTipDialog(QQuickItem *parent) m_hideTimeout(4000), m_interactive(false) { - setFlags(Qt::ToolTip | Qt::X11BypassWindowManagerHint); + setFlags(Qt::ToolTip | Qt::BypassWindowManagerHint); setLocation(Plasma::Types::Floating); m_animation = new QPropertyAnimation(this); @@ -108,7 +108,7 @@ bool ToolTipDialog::event(QEvent *e) } bool ret = Dialog::event(e); - setFlags(Qt::ToolTip | Qt::WindowDoesNotAcceptFocus | Qt::WindowStaysOnTopHint | Qt::X11BypassWindowManagerHint); + setFlags(Qt::ToolTip | Qt::WindowDoesNotAcceptFocus | Qt::WindowStaysOnTopHint | Qt::BypassWindowManagerHint); return ret; }