summaryrefslogtreecommitdiffstats
path: root/tests/auto/cpptest/q3dscene
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/cpptest/q3dscene')
-rw-r--r--tests/auto/cpptest/q3dscene/tst_scene.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/tests/auto/cpptest/q3dscene/tst_scene.cpp b/tests/auto/cpptest/q3dscene/tst_scene.cpp
index 83eff9eb..bbd3dd71 100644
--- a/tests/auto/cpptest/q3dscene/tst_scene.cpp
+++ b/tests/auto/cpptest/q3dscene/tst_scene.cpp
@@ -2,17 +2,17 @@
**
** Copyright (C) 2014 Digia Plc
** All rights reserved.
-** For any questions to Digia, please use contact form at http://qt.digia.com
+** For any questions to Digia, please use contact form at http://qt.io
**
-** This file is part of the QtDataVisualization module.
+** This file is part of the Qt Data Visualization module.
**
-** Licensees holding valid Qt Enterprise licenses may use this file in
-** accordance with the Qt Enterprise License Agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and Digia.
+** Licensees holding valid commercial license for Qt may use this file in
+** accordance with the Qt License Agreement provided with the Software
+** or, alternatively, in accordance with the terms contained in a written
+** agreement between you and Digia.
**
** If you have questions regarding the use of this file, please use
-** contact form at http://qt.digia.com
+** contact form at http://qt.io
**
****************************************************************************/
@@ -127,12 +127,12 @@ void tst_scene::invalidProperties()
void tst_scene::subViews()
{
- Q3DBars *graph = new Q3DBars();
- graph->setPosition(QPoint(0, 0));
- graph->setWidth(200);
- graph->setHeight(200);
+ Q3DBars graph;
+ graph.setPosition(QPoint(0, 0));
+ graph.setWidth(200);
+ graph.setHeight(200);
- Q3DScene *scene = graph->scene();
+ Q3DScene *scene = graph.scene();
QCoreApplication::processEvents();