Remove hack, it does more harm than good. :/
CCMAIL:mgraesslin@kde.org
This commit is contained in:
parent
04fd5d719a
commit
4c17887657
@ -135,14 +135,7 @@ void DialogProxy::onVisibleChanged()
|
|||||||
m_frameSvgItem->setEnabledBorders(Plasma::FrameSvg::NoBorder);
|
m_frameSvgItem->setEnabledBorders(Plasma::FrameSvg::NoBorder);
|
||||||
setPosition(screen()->availableGeometry().topLeft());
|
setPosition(screen()->availableGeometry().topLeft());
|
||||||
setGeometry(screen()->availableGeometry());
|
setGeometry(screen()->availableGeometry());
|
||||||
|
|
||||||
} else {
|
} 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));
|
setPosition(popupPosition(m_visualParent.data(), Qt::AlignCenter));
|
||||||
syncToMainItemSize();
|
syncToMainItemSize();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user