Fix autotest on xcb and make it significant again
Change-Id: Ia7c0fb715a66b8d865481a73e16dcd0d3bdf4988 Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
This commit is contained in:
parent
cf5f961064
commit
b0992b5998
@ -6,5 +6,4 @@ QT += core-private gui-private
|
|||||||
|
|
||||||
SOURCES += tst_qgraphicsproxywidget.cpp
|
SOURCES += tst_qgraphicsproxywidget.cpp
|
||||||
|
|
||||||
contains(QT_CONFIG,xcb):CONFIG+=insignificant_test # QTBUG-25294
|
|
||||||
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|
||||||
|
@ -1223,6 +1223,7 @@ void tst_QGraphicsProxyWidget::mousePressReleaseEvent()
|
|||||||
|
|
||||||
QGraphicsScene scene;
|
QGraphicsScene scene;
|
||||||
QGraphicsView view(&scene);
|
QGraphicsView view(&scene);
|
||||||
|
view.resize(500, 500);
|
||||||
view.show();
|
view.show();
|
||||||
QVERIFY(QTest::qWaitForWindowExposed(&view));
|
QVERIFY(QTest::qWaitForWindowExposed(&view));
|
||||||
|
|
||||||
@ -1231,7 +1232,6 @@ void tst_QGraphicsProxyWidget::mousePressReleaseEvent()
|
|||||||
QPushButton *widget = new QPushButton;
|
QPushButton *widget = new QPushButton;
|
||||||
QSignalSpy spy(widget, SIGNAL(clicked()));
|
QSignalSpy spy(widget, SIGNAL(clicked()));
|
||||||
widget->resize(50, 50);
|
widget->resize(50, 50);
|
||||||
view.resize(100, 100);
|
|
||||||
if (hasWidget) {
|
if (hasWidget) {
|
||||||
proxy->setWidget(widget);
|
proxy->setWidget(widget);
|
||||||
proxy->show();
|
proxy->show();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user