diff options
author | Volker Hilsheimer <volker.hilsheimer@nokia.com> | 2009-07-25 11:21:30 (GMT) |
---|---|---|
committer | Volker Hilsheimer <volker.hilsheimer@nokia.com> | 2009-07-25 11:38:50 (GMT) |
commit | bdca76715f52df3730b33dfd240085486e6f8e01 (patch) | |
tree | 0ddf8ad1c1edcea7af57bb6c2948418b61c82354 /tests/auto | |
parent | c5d8cf81436ead74b6bab6332f59cf86411aef16 (diff) | |
download | Qt-bdca76715f52df3730b33dfd240085486e6f8e01.zip Qt-bdca76715f52df3730b33dfd240085486e6f8e01.tar.gz Qt-bdca76715f52df3730b33dfd240085486e6f8e01.tar.bz2 |
Build without Qt3Support
Diffstat (limited to 'tests/auto')
-rw-r--r-- | tests/auto/qsettings/tst_qsettings.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qsettings/tst_qsettings.cpp b/tests/auto/qsettings/tst_qsettings.cpp index 5b9e9e1..d0f11aa 100644 --- a/tests/auto/qsettings/tst_qsettings.cpp +++ b/tests/auto/qsettings/tst_qsettings.cpp @@ -341,7 +341,7 @@ void tst_QSettings::init() #if defined(Q_OS_WINCE) removePath(settingsPath()); #else - if (qWinVersion() & Qt::WV_NT_based) + if (QSysInfo::windowsVersion() & QSysInfo::WV_NT_based) system(QString("rmdir /Q /S %1").arg(settingsPath()).toLatin1()); else system(QString("deltree /Y %1").arg(settingsPath()).toLatin1()); |