summaryrefslogtreecommitdiff
path: root/src/scripttools/debugging/qscriptvalueproperty.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/scripttools/debugging/qscriptvalueproperty.cpp')
-rw-r--r--src/scripttools/debugging/qscriptvalueproperty.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/scripttools/debugging/qscriptvalueproperty.cpp b/src/scripttools/debugging/qscriptvalueproperty.cpp
index 91a59e5..90c4dfc 100644
--- a/src/scripttools/debugging/qscriptvalueproperty.cpp
+++ b/src/scripttools/debugging/qscriptvalueproperty.cpp
@@ -56,12 +56,11 @@ public:
QScriptValue value;
QScriptValue::PropertyFlags flags;
- QBasicAtomicInt ref;
+ QAtomicInt ref;
};
QScriptValuePropertyPrivate::QScriptValuePropertyPrivate()
{
- ref = 0;
}
QScriptValuePropertyPrivate::~QScriptValuePropertyPrivate()