From bdca76715f52df3730b33dfd240085486e6f8e01 Mon Sep 17 00:00:00 2001 From: Volker Hilsheimer Date: Sat, 25 Jul 2009 13:21:30 +0200 Subject: Build without Qt3Support --- tests/auto/qsettings/tst_qsettings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()); -- cgit v0.12