From 4c17887657871162c085cd3af5e10d0dabca70b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20K=C3=BCgler?= Date: Tue, 17 Dec 2013 02:17:46 +0100 Subject: [PATCH] Remove hack, it does more harm than good. :/ CCMAIL:mgraesslin@kde.org --- src/declarativeimports/core/dialog.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/declarativeimports/core/dialog.cpp b/src/declarativeimports/core/dialog.cpp index 1a5b768b2..e876d1b71 100644 --- a/src/declarativeimports/core/dialog.cpp +++ b/src/declarativeimports/core/dialog.cpp @@ -135,14 +135,7 @@ void DialogProxy::onVisibleChanged() m_frameSvgItem->setEnabledBorders(Plasma::FrameSvg::NoBorder); setPosition(screen()->availableGeometry().topLeft()); setGeometry(screen()->availableGeometry()); - } else { - // FIXME: abuse of flags - // The dialog hiding is animated, keep it raised while it's animating - // This seems to be a bit of a hack, but as it works, let's use it for - // now and keep looking for a better solution. - setFlags(Qt::WindowStaysOnTopHint|m_flags); - //syncToMainItemSize(); setPosition(popupPosition(m_visualParent.data(), Qt::AlignCenter)); syncToMainItemSize(); }