QWindow: Make screen warning more informative
Change-Id: Icd7933422e272434370ae6080348de6159d2e725 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
This commit is contained in:
parent
9212727813
commit
049fad42a2
@ -369,7 +369,7 @@ void QWindowPrivate::setTopLevelScreen(QScreen *newScreen, bool recreate)
|
||||
{
|
||||
Q_Q(QWindow);
|
||||
if (parentWindow) {
|
||||
qWarning() << this << '(' << newScreen << "): Attempt to set a screen on a child window.";
|
||||
qWarning() << q << '(' << newScreen << "): Attempt to set a screen on a child window.";
|
||||
return;
|
||||
}
|
||||
if (newScreen != topLevelScreen) {
|
||||
|
Loading…
Reference in New Issue
Block a user