move the skiptaskbar flag set to showEvent
This commit is contained in:
parent
58e45d97b1
commit
ba91c53c12
@ -228,7 +228,6 @@ void DialogProxy::updateVisibility(bool visible)
|
|||||||
|
|
||||||
if (visible) {
|
if (visible) {
|
||||||
raise();
|
raise();
|
||||||
KWindowSystem::setState(winId(), NET::SkipTaskbar | NET::SkipPager);
|
|
||||||
|
|
||||||
if (m_type != Normal) {
|
if (m_type != Normal) {
|
||||||
KWindowSystem::setType(winId(), (NET::WindowType)m_type);
|
KWindowSystem::setType(winId(), (NET::WindowType)m_type);
|
||||||
@ -545,6 +544,7 @@ void DialogProxy::focusOutEvent(QFocusEvent *ev)
|
|||||||
|
|
||||||
void DialogProxy::showEvent(QShowEvent *event)
|
void DialogProxy::showEvent(QShowEvent *event)
|
||||||
{
|
{
|
||||||
|
KWindowSystem::setState(winId(), NET::SkipTaskbar | NET::SkipPager);
|
||||||
DialogShadows::self()->addWindow(this, m_frameSvgItem->enabledBorders());
|
DialogShadows::self()->addWindow(this, m_frameSvgItem->enabledBorders());
|
||||||
QQuickWindow::showEvent(event);
|
QQuickWindow::showEvent(event);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user