summaryrefslogtreecommitdiffstats
path: root/tests/auto/qsettings
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@nokia.com>2009-07-25 11:21:30 (GMT)
committerVolker Hilsheimer <volker.hilsheimer@nokia.com>2009-07-25 11:38:50 (GMT)
commitbdca76715f52df3730b33dfd240085486e6f8e01 (patch)
tree0ddf8ad1c1edcea7af57bb6c2948418b61c82354 /tests/auto/qsettings
parentc5d8cf81436ead74b6bab6332f59cf86411aef16 (diff)
downloadQt-bdca76715f52df3730b33dfd240085486e6f8e01.zip
Qt-bdca76715f52df3730b33dfd240085486e6f8e01.tar.gz
Qt-bdca76715f52df3730b33dfd240085486e6f8e01.tar.bz2
Build without Qt3Support
Diffstat (limited to 'tests/auto/qsettings')
-rw-r--r--tests/auto/qsettings/tst_qsettings.cpp2
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());