summaryrefslogtreecommitdiff
path: root/src/scripttools/debugging/qscriptdebuggervalueproperty.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/scripttools/debugging/qscriptdebuggervalueproperty.cpp')
-rw-r--r--src/scripttools/debugging/qscriptdebuggervalueproperty.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/scripttools/debugging/qscriptdebuggervalueproperty.cpp b/src/scripttools/debugging/qscriptdebuggervalueproperty.cpp
index ab8f040..02cc43d 100644
--- a/src/scripttools/debugging/qscriptdebuggervalueproperty.cpp
+++ b/src/scripttools/debugging/qscriptdebuggervalueproperty.cpp
@@ -65,12 +65,11 @@ public:
QString valueAsString;
QScriptValue::PropertyFlags flags;
- QBasicAtomicInt ref;
+ QAtomicInt ref;
};
QScriptDebuggerValuePropertyPrivate::QScriptDebuggerValuePropertyPrivate()
{
- ref = 0;
}
QScriptDebuggerValuePropertyPrivate::~QScriptDebuggerValuePropertyPrivate()