diff base/Preferences.h @ 245:4cd620bd4c61 sv1-1.0pre1

* Make getPropertyRangeAndValue return the default separately from the current value. Previously some contexts were incorrectly treating the current value as a default.
author Chris Cannam
date Fri, 02 Mar 2007 14:00:12 +0000
parents 91fdc752e540
children d7eeffbb8aaf
line wrap: on
line diff
--- a/base/Preferences.h	Fri Mar 02 13:01:41 2007 +0000
+++ b/base/Preferences.h	Fri Mar 02 14:00:12 2007 +0000
@@ -30,7 +30,7 @@
     virtual PropertyList getProperties() const;
     virtual QString getPropertyLabel(const PropertyName &) const;
     virtual PropertyType getPropertyType(const PropertyName &) const;
-    virtual int getPropertyRangeAndValue(const PropertyName &, int *, int *) const;
+    virtual int getPropertyRangeAndValue(const PropertyName &, int *, int *, int *) const;
     virtual QString getPropertyValueLabel(const PropertyName &, int value) const;
     virtual QString getPropertyContainerName() const;
     virtual QString getPropertyContainerIconName() const;