Remove disabled code from QWidget autotest.
The removed code was already disabled when first committed in January 2009. Change-Id: I00a82f2e673fee76869cc76d756c36d081da2d2a Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
This commit is contained in:
parent
647e59fdb1
commit
82a4516c5d
@ -3894,17 +3894,6 @@ void tst_QWidget::setMaximumSize()
|
||||
w.setMaximumSize(defaultSize + QSize(50, 50));
|
||||
QCOMPARE(w.size(), defaultSize + QSize(50, 50));
|
||||
QVERIFY(!w.testAttribute(Qt::WA_Resized));
|
||||
|
||||
#if 0
|
||||
//we don't enforce maximum size on show, apparently
|
||||
QSize nonDefaultSize = defaultSize - QSize(5,5);
|
||||
w.setMaximumSize(nonDefaultSize);
|
||||
w.show();
|
||||
QTest::qWait(50);
|
||||
qDebug() << nonDefaultSize << w.size();
|
||||
QVERIFY(w.height() <= nonDefaultSize.height());
|
||||
QVERIFY(w.width() <= nonDefaultSize.width());
|
||||
#endif
|
||||
}
|
||||
|
||||
void tst_QWidget::setFixedSize()
|
||||
|
Loading…
Reference in New Issue
Block a user