diff options
Diffstat (limited to 'src/scripttools/debugging')
5 files changed, 5 insertions, 10 deletions
diff --git a/src/scripttools/debugging/qscriptdebuggerconsolecommandgroupdata.cpp b/src/scripttools/debugging/qscriptdebuggerconsolecommandgroupdata.cpp index 672372e..7822e12 100644 --- a/src/scripttools/debugging/qscriptdebuggerconsolecommandgroupdata.cpp +++ b/src/scripttools/debugging/qscriptdebuggerconsolecommandgroupdata.cpp @@ -62,12 +62,11 @@ public: QString shortDescription; QString longDescription; - QBasicAtomicInt ref; + QAtomicInt ref; }; QScriptDebuggerConsoleCommandGroupDataPrivate::QScriptDebuggerConsoleCommandGroupDataPrivate() { - ref = 0; } QScriptDebuggerConsoleCommandGroupDataPrivate::~QScriptDebuggerConsoleCommandGroupDataPrivate() diff --git a/src/scripttools/debugging/qscriptdebuggervalue.cpp b/src/scripttools/debugging/qscriptdebuggervalue.cpp index 3882070..5ece13d 100644 --- a/src/scripttools/debugging/qscriptdebuggervalue.cpp +++ b/src/scripttools/debugging/qscriptdebuggervalue.cpp @@ -70,13 +70,12 @@ public: qint64 objectId; }; - QBasicAtomicInt ref; + QAtomicInt ref; }; QScriptDebuggerValuePrivate::QScriptDebuggerValuePrivate() : type(QScriptDebuggerValue::NoValue) { - ref = 0; } QScriptDebuggerValuePrivate::~QScriptDebuggerValuePrivate() 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() diff --git a/src/scripttools/debugging/qscriptscriptdata.cpp b/src/scripttools/debugging/qscriptscriptdata.cpp index f58d754..7723d6c 100644 --- a/src/scripttools/debugging/qscriptscriptdata.cpp +++ b/src/scripttools/debugging/qscriptscriptdata.cpp @@ -66,12 +66,11 @@ public: int baseLineNumber; QDateTime timeStamp; - QBasicAtomicInt ref; + QAtomicInt ref; }; QScriptScriptDataPrivate::QScriptScriptDataPrivate() { - ref = 0; } QScriptScriptDataPrivate::~QScriptScriptDataPrivate() 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() |