From ff8abc033d3f4ef3bb2d42e276a029ae701b3629 2012-07-20 16:15:50 From: Michal Klocek Date: 2012-07-20 16:15:50 Subject: [PATCH] Minor. Compilation fix --- diff --git a/tests/auto/domain/tst_domain.cpp b/tests/auto/domain/tst_domain.cpp index 0bfe990..d14f2af 100644 --- a/tests/auto/domain/tst_domain.cpp +++ b/tests/auto/domain/tst_domain.cpp @@ -34,16 +34,36 @@ class AxisMock: public QAbstractAxisPrivate Q_OBJECT public: AxisMock(Qt::Orientation orientation):QAbstractAxisPrivate(0){ setOrientation(orientation);}; - ChartAxis* createGraphics(ChartPresenter* presenter){}; - void intializeDomain(Domain* domain){}; - void setMin(const QVariant &min){} + ChartAxis* createGraphics(ChartPresenter* presenter) + { + Q_UNUSED(presenter); + return 0; + }; + void intializeDomain(Domain* domain) + { + Q_UNUSED(domain); + }; + void setMin(const QVariant &min) + { + Q_UNUSED(min); + } qreal min() { return m_min;} - void setMax(const QVariant &max){} + void setMax(const QVariant &max) + { + Q_UNUSED(max); + } qreal max() { return m_max; } - void setRange(const QVariant &min, const QVariant &max){}; + void setRange(const QVariant &min, const QVariant &max) + { + Q_UNUSED(min); + Q_UNUSED(max); + }; + + int count () const { return m_count; } void handleDomainUpdated(){}; public: + int m_count; qreal m_min; qreal m_max; };