diff options
author | Pierre Rossi <pierre.rossi@nokia.com> | 2011-06-09 08:42:09 (GMT) |
---|---|---|
committer | Pierre Rossi <pierre.rossi@nokia.com> | 2011-06-09 08:46:37 (GMT) |
commit | 13d438ef43a3cb2a90acfaa5304cba34b31fb627 (patch) | |
tree | a566fe72af7e4d76069e3b7cafba1a25743c3c4b /tests/auto/qfiledialog | |
parent | df6713b8f55fc007796f404a3615bf348d1d0782 (diff) | |
download | Qt-13d438ef43a3cb2a90acfaa5304cba34b31fb627.zip Qt-13d438ef43a3cb2a90acfaa5304cba34b31fb627.tar.gz Qt-13d438ef43a3cb2a90acfaa5304cba34b31fb627.tar.bz2 |
Fix some issues introduced in df6713b8f55fc007796f40.
Remove homeDirPath(), which is part of Qt3Support.
Add a #else to the #ifdef QT_BUILD_INTERNAL so that the autotest compiles
also with non-developer builds.
Reviewed-by: TrustMe
Diffstat (limited to 'tests/auto/qfiledialog')
-rw-r--r-- | tests/auto/qfiledialog/tst_qfiledialog.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/auto/qfiledialog/tst_qfiledialog.cpp b/tests/auto/qfiledialog/tst_qfiledialog.cpp index 24ac9f7..955860d 100644 --- a/tests/auto/qfiledialog/tst_qfiledialog.cpp +++ b/tests/auto/qfiledialog/tst_qfiledialog.cpp @@ -1353,11 +1353,12 @@ void tst_QFiledialog::tildeExpansion() { #ifndef QT_BUILD_INTERNAL QSKIP("Test case relies on developer build (AUTOTEST_EXPORT)", SkipAll); -#endif +#else QFETCH(QString, tildePath); QFETCH(QString, expandedPath); QCOMPARE(qt_tildeExpansion(tildePath), expandedPath); +#endif } #endif |