diff -r 2b40d63a9c3d -r 90517678cc4f qtmobility/src/systeminfo/qwmihelper_win.cpp --- a/qtmobility/src/systeminfo/qwmihelper_win.cpp Fri Apr 16 15:51:22 2010 +0300 +++ b/qtmobility/src/systeminfo/qwmihelper_win.cpp Mon May 03 13:18:40 2010 +0300 @@ -150,7 +150,7 @@ break; } - foreach(QString property, classProperty) { + foreach(const QString property, classProperty) { VARIANT msVariant; CIMTYPE variantType; hr = wbemCLassObject->Get(property.utf16(), 0, &msVariant, &variantType, 0);