Prevent tst_QWidget::showAndMoveChild() from failing on KDE.
Since we grab the desktop the KDE task bar appears on top of the window we're interested in. It's preferable to make the window a bit smaller.
This commit is contained in:
parent
78264f333e
commit
d75a9444aa
@ -5170,6 +5170,7 @@ void tst_QWidget::showAndMoveChild()
|
||||
|
||||
QDesktopWidget desktop;
|
||||
QRect desktopDimensions = desktop.availableGeometry(&parent);
|
||||
desktopDimensions = desktopDimensions.adjusted(64, 64, -64, -64);
|
||||
|
||||
parent.setGeometry(desktopDimensions);
|
||||
parent.setPalette(Qt::red);
|
||||
|
Loading…
Reference in New Issue
Block a user