Change-Id: I92b8600c513ba033c459b6911ca62fc31698dc4a
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@digia.com>
Reviewed-by: Morten Johan Sørvig <morten.sorvig@digia.com>
if (window()->type() == Qt::Popup)
[(NSPanel *)m_nsWindow setWorksWhenModal:YES];
}
+ } else {
+ [m_contentView setHidden:NO];
}
} else {
// qDebug() << "close" << this;
[NSApp endSheet:m_nsWindow];
}
[m_nsWindow orderOut:m_nsWindow];
+ } else {
+ [m_contentView setHidden:YES];
}
if (!QCoreApplication::closingDown())
QWindowSystemInterface::handleExposeEvent(window(), QRegion());