Fix casting -1 to WId on mac
This commit is contained in:
@@ -159,7 +159,7 @@ WId QWidgetAdapter::winId() const
|
||||
if (QWindow *w = windowHandle())
|
||||
return w->winId();
|
||||
|
||||
return -1;
|
||||
return WId(-1);
|
||||
}
|
||||
|
||||
FloatingWindow * QWidgetAdapter::floatingWindow() const
|
||||
|
||||
Reference in New Issue
Block a user