wasm: fix non-void function return
Pick-to: 6.2 Change-Id: Ia7ef3367c0531f953c78e43297f67d61b08dbf17 Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>bb10
parent
ae717aa51f
commit
d904274176
|
|
@ -416,8 +416,9 @@ bool QWasmWindow::windowIsPopupType(Qt::WindowType type) const
|
|||
{
|
||||
if (type == Qt::Widget)
|
||||
type = window()->type();
|
||||
if (type == Qt::Tool)
|
||||
return false;
|
||||
if (type != Qt::Tool)
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
|
|
|||
Loading…
Reference in New Issue