tst_qtreewidget: Skip test that crashes on Wayland.

Change-Id: I6cc2eb90df57eb5c33d3a93920ea719b5e2cfc0d
Reviewed-by: Laszlo Agocs <laszlo.agocs@digia.com>
This commit is contained in:
Robin Burchell 2014-08-21 15:31:11 +02:00
parent f10eda7cb5
commit 6aa1b6e015

View File

@ -3342,6 +3342,9 @@ void tst_QTreeWidget::setChildIndicatorPolicy()
void tst_QTreeWidget::task20345_sortChildren()
{
if (qApp->platformName().toLower() == QLatin1String("wayland"))
QSKIP("Wayland: This causes a crash triggered by setVisible(false)");
// This test case is considered successful if it is executed (no crash in sorting)
QTreeWidget tw;
tw.setColumnCount(3);