use Qt::BypassWindowManagerHint

BUG:335267
This commit is contained in:
Marco Martin 2014-05-27 13:57:34 +02:00
parent 71b22cb89b
commit 157d0ed836

View File

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