Commit 64c32469 authored by Thorbjørn Lindeijer's avatar Thorbjørn Lindeijer
Browse files

QmlJSDebugger: Avoid warning in window flag logic

parent 512fe4b6
......@@ -907,7 +907,8 @@ void QDeclarativeViewObserverPrivate::createToolBox()
verticalLayout->addWidget(toolBar);
QWidget *toolBox = new QWidget(q->declarativeView(), Qt::Tool);
toolBox->setWindowFlags(toolBox->windowFlags() & ~Qt::WindowCloseButtonHint | Qt::CustomizeWindowHint);
toolBox->setWindowFlags((toolBox->windowFlags() & ~Qt::WindowCloseButtonHint)
| Qt::CustomizeWindowHint);
toolBox->setWindowTitle(tr("Qt Quick Toolbox"));
toolBox->setLayout(verticalLayout);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment