Enable tst_qfiledialog2 on OSX

Change-Id: I7147d326b0f5bb218f4dbc013ed82efb4c1e1440
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Reviewed-by: Paul Olav Tvete <paul.tvete@theqtcompany.com>
This commit is contained in:
Jørgen Lind 2014-09-17 12:23:19 +02:00 committed by Jørgen Lind
parent a1d61e70ca
commit 7ca909a119
2 changed files with 2 additions and 1 deletions

View File

@ -20,4 +20,3 @@ wince* {
DEFINES += SRCDIR=\\\"$$PWD/\\\" DEFINES += SRCDIR=\\\"$$PWD/\\\"
} }
macx:CONFIG += insignificant_test # QTBUG-39183

View File

@ -448,6 +448,8 @@ void tst_QFileDialog2::task180459_lastDirectory_data()
void tst_QFileDialog2::task180459_lastDirectory() void tst_QFileDialog2::task180459_lastDirectory()
{ {
if (qApp->platformName().toLower() == QStringLiteral("cocoa"))
QSKIP("Insignificant on OSX"); //QTBUG-39183
//first visit the temp directory and close the dialog //first visit the temp directory and close the dialog
QNonNativeFileDialog *dlg = new QNonNativeFileDialog(0, "", tempDir.path()); QNonNativeFileDialog *dlg = new QNonNativeFileDialog(0, "", tempDir.path());
QFileSystemModel *model = dlg->findChild<QFileSystemModel*>("qt_filesystem_model"); QFileSystemModel *model = dlg->findChild<QFileSystemModel*>("qt_filesystem_model");