summaryrefslogtreecommitdiffstats
path: root/examples/qmloscilloscope/datasource.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/qmloscilloscope/datasource.cpp')
-rw-r--r--examples/qmloscilloscope/datasource.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/examples/qmloscilloscope/datasource.cpp b/examples/qmloscilloscope/datasource.cpp
index 3d2f908d..922ed576 100644
--- a/examples/qmloscilloscope/datasource.cpp
+++ b/examples/qmloscilloscope/datasource.cpp
@@ -17,18 +17,14 @@
****************************************************************************/
#include "datasource.h"
-#include <QtQuick/QQuickView>
-#include <QtQuick/QQuickItem>
-#include <QDebug>
#include <qmath.h>
using namespace QtDataVisualization;
Q_DECLARE_METATYPE(QSurface3DSeries *)
-DataSource::DataSource(QQuickView *appViewer, QObject *parent) :
+DataSource::DataSource(QObject *parent) :
QObject(parent),
- m_appViewer(appViewer),
m_index(-1),
m_resetArray(0)
{
@@ -46,7 +42,6 @@ void DataSource::generateData(int cacheCount, int rowCount, int columnCount,
float zMin, float zMax)
{
clearData();
-
// Re-create the cache array
m_data.resize(cacheCount);
for (int i(0); i < cacheCount; i++) {