fix logSlider: now has 5 levels, initialized to gui.GetLogLevel which is set through command line flag (defaults to InfoLevel)

This commit is contained in:
zelig 2014-06-25 16:53:19 +01:00
parent 08de13a57b
commit 39c0f7f386

@ -319,7 +319,7 @@ ApplicationWindow {
Slider { Slider {
id: logLevelSlider id: logLevelSlider
value: 1 value: eth.getLogLevel()
anchors { anchors {
right: parent.right right: parent.right
top: parent.top top: parent.top
@ -332,7 +332,7 @@ ApplicationWindow {
} }
orientation: Qt.Vertical orientation: Qt.Vertical
maximumValue: 3 maximumValue: 5
stepSize: 1 stepSize: 1
onValueChanged: { onValueChanged: {