@@ -24,16 +24,16 @@ class FakeValueSliderFilter : public unity::shell::scopes::ValueSliderFilterInte
27− FakeValueSliderFilter(const QString &id, const QString &tag, int value, int minValue, int maxValue, const QMap<int, QString> &labels, QObject* parent);
27+ FakeValueSliderFilter(const QString &id, const QString &tag, double value, double minValue, double maxValue, const QMap<double, QString> &labels, QObject* parent);
29 QString filterId() const override;
29 QString filterId() const override;
30 QString filterTag() const override;
30 QString filterTag() const override;
31 QString title() const override;
31 QString title() const override;
33− int value() const override;
33+ double value() const override;
34− void setValue(int value) override;
34+ void setValue(double value) override;
35− int minValue() const override;
35+ double minValue() const override;
36− int maxValue() const override;
36+ double maxValue() const override;
37 unity::shell::scopes::ValueSliderValuesInterface* values() const override;
37 unity::shell::scopes::ValueSliderValuesInterface* values() const override;
39 // Not part of the iface, for mock/testing purposes
39 // Not part of the iface, for mock/testing purposes
@@ -46,9 +46,9 @@ private:
46 QString m_filterTag;
46 QString m_filterTag;
47 QString m_title;
47 QString m_title;
49− int m_value;
49+ double m_value;
50− int m_minValue;
50+ double m_minValue;
51− int m_maxValue;
51+ double m_maxValue;
52 unity::shell::scopes::ValueSliderValuesInterface *m_values;
52 unity::shell::scopes::ValueSliderValuesInterface *m_values;