diff options
Diffstat (limited to 'src/controls/Slider.qml')
| -rw-r--r-- | src/controls/Slider.qml | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/controls/Slider.qml b/src/controls/Slider.qml index 711c449bf..b31d4f78d 100644 --- a/src/controls/Slider.qml +++ b/src/controls/Slider.qml @@ -174,19 +174,6 @@ Control { Accessible.role: Accessible.Slider Accessible.name: value - /*! - \qmlmethod Slider::formatValue - - This method returns the current slider value in a way that is more suitable - for user display, such as the \l value rounded to only two decimal places. - - By default this function returns the nearest \c int value. - */ - - function formatValue(v) { - return Math.round(v); - } - style: Qt.createComponent(Settings.style + "/SliderStyle.qml", slider) Keys.onRightPressed: value += (maximumValue - minimumValue)/10.0 |
