summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJarek Kobus <jaroslaw.kobus@qt.io>2018-04-30 16:06:25 +0200
committerJarek Kobus <jaroslaw.kobus@qt.io>2018-05-02 08:27:51 +0000
commit3c97b1911851741cc0f504a82419fc760a66e08d (patch)
tree60179e198d27d54fcfead1bdf8960ed71bcba126 /src
parented62126c039d0bb7739e6268a993cee35f9242ea (diff)
Fix coding style issues
Change-Id: Ica7d960babffbf2ef1e6e43c032c236de4a3472e Reviewed-by: Kai Koehne <kai.koehne@qt.io>
Diffstat (limited to 'src')
-rw-r--r--src/scxml/qscxmlecmascriptdatamodel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/scxml/qscxmlecmascriptdatamodel.cpp b/src/scxml/qscxmlecmascriptdatamodel.cpp
index d8548d7..1391068 100644
--- a/src/scxml/qscxmlecmascriptdatamodel.cpp
+++ b/src/scxml/qscxmlecmascriptdatamodel.cpp
@@ -266,7 +266,7 @@ public:
QStringList initialDataNames;
private: // Uses private API
- static void setReadonlyProperty(QJSValue *object, const QString& name, const QJSValue& value)
+ static void setReadonlyProperty(QJSValue *object, const QString &name, const QJSValue &value)
{
qCDebug(qscxmlLog) << "setting read-only property" << name;
QV4::ExecutionEngine *engine = QJSValuePrivate::engine(object);
@@ -303,7 +303,7 @@ private: // Uses private API
SetPropertyFailedForAnotherReason,
};
- static SetPropertyResult setProperty(QJSValue *object, const QString& name, const QJSValue& value)
+ static SetPropertyResult setProperty(QJSValue *object, const QString &name, const QJSValue &value)
{
QV4::ExecutionEngine *engine = QJSValuePrivate::engine(object);
Q_ASSERT(engine);