Disable modeltest.
authorMilian Wolff <mail@milianw.de>
Sun, 11 Oct 2015 12:28:15 +0000 (14:28 +0200)
committerMilian Wolff <mail@milianw.de>
Sun, 11 Oct 2015 12:28:15 +0000 (14:28 +0200)
I'll write a proper test soon and add the ModelTest there.

gui/chartmodel.cpp

index 1e0fcde..b8f933f 100644 (file)
@@ -28,8 +28,6 @@
 #include <QBrush>
 #include <QDebug>
 
-#include "modeltest.h"
-
 namespace {
 QColor colorForColumn(int column, int columnCount)
 {
@@ -42,7 +40,6 @@ ChartModel::ChartModel(Type type, QObject* parent)
     , m_type(type)
 {
     qRegisterMetaType<ChartData>();
-    new ModelTest(this);
 }
 
 ChartModel::~ChartModel() = default;