summaryrefslogtreecommitdiffstats
path: root/tests/auto/qsettings/tst_qsettings.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qsettings/tst_qsettings.cpp')
-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());