mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 00:01:50 +00:00
Bug 1008668 - Make Qt port compile on 5.0.2. r=romaxa DONTBUILD
This commit is contained in:
parent
25afc24d82
commit
6564bacf3c
@ -224,7 +224,11 @@ nsWindow::createQWidget(MozQWidget* parent,
|
||||
|
||||
widget->setObjectName(QString(windowName));
|
||||
if (mWindowType == eWindowType_invisible) {
|
||||
#if (QT_VERSION >= QT_VERSION_CHECK(5, 1, 0))
|
||||
widget->setVisibility(QWindow::Hidden);
|
||||
#else
|
||||
widget->hide();
|
||||
#endif
|
||||
}
|
||||
if (mWindowType == eWindowType_dialog) {
|
||||
widget->setModality(Qt::WindowModal);
|
||||
|
Loading…
Reference in New Issue
Block a user