Windows: Remove warning when creating QWindow
Change-Id: I63c76710ab84c88ba8b4b6f24e6161ae2db77a5f Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
This commit is contained in:
parent
ed15e4eb07
commit
acbb6f1897
@ -322,7 +322,6 @@ void WindowCreationData::fromWindow(const QWindow *w, const Qt::WindowFlags flag
|
||||
topLevel = ((creationFlags & ForceChild) || embedded) ? false : w->isTopLevel();
|
||||
|
||||
if (topLevel && flags == 1) {
|
||||
qWarning("Remove me: fixing toplevel window flags");
|
||||
flags |= Qt::WindowTitleHint|Qt::WindowSystemMenuHint|Qt::WindowMinimizeButtonHint
|
||||
|Qt::WindowMaximizeButtonHint|Qt::WindowCloseButtonHint;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user