summaryrefslogtreecommitdiffstats
path: root/tests/auto/qscriptvaluegenerated/tst_qscriptvalue_generated_init.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qscriptvaluegenerated/tst_qscriptvalue_generated_init.cpp')
-rw-r--r--tests/auto/qscriptvaluegenerated/tst_qscriptvalue_generated_init.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qscriptvaluegenerated/tst_qscriptvalue_generated_init.cpp b/tests/auto/qscriptvaluegenerated/tst_qscriptvalue_generated_init.cpp
index 8c8a7d1..77b58ef 100644
--- a/tests/auto/qscriptvaluegenerated/tst_qscriptvalue_generated_init.cpp
+++ b/tests/auto/qscriptvaluegenerated/tst_qscriptvalue_generated_init.cpp
@@ -49,7 +49,7 @@
void tst_QScriptValueGenerated::initScriptValues()
{
m_values.clear();
- if (engine)
+ if (engine)
delete engine;
engine = new QScriptEngine;
DEFINE_TEST_VALUE(QScriptValue());