summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>2011-11-07 14:47:55 +0100
committerQt by Nokia <qt-info@nokia.com>2011-11-07 15:21:19 +0100
commitb68d596b6d892904ae3f43c20780c5c58cf1b6fa (patch)
tree45267aa30237e54ef24224d2af146d4a3c168358 /tools
parent29e0b656e8e2854146ce81e44d377c475aeb6152 (diff)
Declarative: Fix compiler warnings.
- Unused parameters, variables - Usage of deprecated QAtomic::operator=(int) Change-Id: I2861968dac8ef8a3126783e3447c593808116871 Reviewed-by: Aaron Kennedy <aaron.kennedy@nokia.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/qmlviewer/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/qmlviewer/main.cpp b/tools/qmlviewer/main.cpp
index 91362bb241..2ab4689020 100644
--- a/tools/qmlviewer/main.cpp
+++ b/tools/qmlviewer/main.cpp
@@ -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;