diff options
author | Miikka Heikkinen <miikka.heikkinen@digia.com> | 2009-08-24 09:47:43 (GMT) |
---|---|---|
committer | Miikka Heikkinen <miikka.heikkinen@digia.com> | 2009-08-24 09:47:43 (GMT) |
commit | 6d2a500a32fd3e0536420708c845bbb2799c92d1 (patch) | |
tree | 8c55925fdde280f531e635fb7870e8768b069533 /tests/auto/qdir | |
parent | dc904e1d9a110f8580cde4543a4c4b3813fa26e1 (diff) | |
download | Qt-6d2a500a32fd3e0536420708c845bbb2799c92d1.zip Qt-6d2a500a32fd3e0536420708c845bbb2799c92d1.tar.gz Qt-6d2a500a32fd3e0536420708c845bbb2799c92d1.tar.bz2 |
Removed unnecessary Q_OS_SYMBIAN ifdefs
Q_OS_UNIX branch of ifdef is ok to execute in homePath and tempPath
cases of QDir autotest for Symbian. Q_OS_SYMBIAN branch was never
even entered for Symbian builds.
Reviewed-by: TrustMe
Diffstat (limited to 'tests/auto/qdir')
-rw-r--r-- | tests/auto/qdir/tst_qdir.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/qdir/tst_qdir.cpp b/tests/auto/qdir/tst_qdir.cpp index 13e8c95..c00ca7a 100644 --- a/tests/auto/qdir/tst_qdir.cpp +++ b/tests/auto/qdir/tst_qdir.cpp @@ -1262,7 +1262,7 @@ void tst_QDir::homePath() #ifdef Q_OS_UNIX if (strHome.length() > 1) // root dir = "/" QVERIFY(!strHome.endsWith('/')); -#elif defined(Q_OS_WIN) || defined(Q_OS_SYMBIAN) +#elif defined(Q_OS_WIN) if (strHome.length() > 3) // root dir = "c:/"; "//" is not really valid... QVERIFY(!strHome.endsWith('/')); #endif @@ -1286,7 +1286,7 @@ void tst_QDir::tempPath() #ifdef Q_OS_UNIX if (path.length() > 1) // root dir = "/" QVERIFY(!path.endsWith('/')); -#elif defined(Q_OS_WIN) || defined(Q_OS_SYMBIAN) +#elif defined(Q_OS_WIN) if (path.length() > 3) // root dir = "c:/"; "//" is not really valid... QVERIFY(!path.endsWith('/')); #endif |