diff --git a/src/barchart/qbarseries.h b/src/barchart/qbarseries.h index 326cc22..a003596 100644 --- a/src/barchart/qbarseries.h +++ b/src/barchart/qbarseries.h @@ -108,7 +108,6 @@ private Q_SLOTS: protected: Q_DECLARE_PRIVATE(QBarSeries) - Q_DISABLE_COPY(QBarSeries) /* BarChartModel *m_internalModel; // TODO: this may change... current "2 models" situation doesn't look good. diff --git a/src/barchart/qbarset.cpp b/src/barchart/qbarset.cpp index 64f71a1..d96bc7b 100644 --- a/src/barchart/qbarset.cpp +++ b/src/barchart/qbarset.cpp @@ -72,6 +72,11 @@ QBarSet::QBarSet(QString name, QObject *parent) { } +QBarSet::~QBarSet() +{ + +} + /*! Sets new \a name for set. */ diff --git a/src/barchart/qbarset.h b/src/barchart/qbarset.h index 91bfb7a..df81de5 100644 --- a/src/barchart/qbarset.h +++ b/src/barchart/qbarset.h @@ -35,6 +35,7 @@ class QTCOMMERCIALCHART_EXPORT QBarSet : public QObject public: QBarSet(QString name, QObject *parent = 0); + virtual ~QBarSet(); void setName(QString name); QString name() const;