Declarative: Fix compiler warnings.
[profile/ivi/qtdeclarative.git] / tools / qmlviewer / main.cpp
index 91362bb..2ab4689 100644 (file)
@@ -84,7 +84,7 @@ void myMessageOutput(QtMsgType type, const char *msg)
         if (!logger.isNull()) {
             if (recursiveLock.testAndSetOrdered(0, 1)) {
                 QMetaObject::invokeMethod(logger.data(), "append", Q_ARG(QString, strMsg));
-                recursiveLock = 0;
+                recursiveLock.store(0);
             }
         } else {
             warnings += strMsg;