From ee4395717cf942d5b5dc3845f778b76786828eff Mon Sep 17 00:00:00 2001 From: Louis-Joseph Fournier Date: Sat, 9 Jan 2016 08:50:34 +0100 Subject: [PATCH] ConfigurationPage fixes --- qml/Config.qml | 4 ++-- qml/ConfigurePageSailfish.qml | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/qml/Config.qml b/qml/Config.qml index 44f87d5..75bf156 100644 --- a/qml/Config.qml +++ b/qml/Config.qml @@ -3,7 +3,7 @@ import QtQuick 2.0 pragma Singleton QtObject { - property double la: 441 - property int temperament_idx: 1 + property double la: 440 + property int temperament_idx: 0 property int notes_style: 0 } diff --git a/qml/ConfigurePageSailfish.qml b/qml/ConfigurePageSailfish.qml index 4a05fb4..7eb9856 100644 --- a/qml/ConfigurePageSailfish.qml +++ b/qml/ConfigurePageSailfish.qml @@ -44,6 +44,7 @@ Dialog { id: la text: Config.la label: qsTr("La") + width: Theme.fontSizeMedium * 5 } /// predefined la(s) @@ -63,7 +64,7 @@ Dialog { Text { id: la_freq font.pixelSize: Theme.fontSizeSmall - text: tab_la[parent.index] + text: la_tab[parent.index] } MouseArea { anchors.fill: parent @@ -95,7 +96,7 @@ Dialog { TextSwitch { id: notes_style text: qsTr("French notes") - down: Config.note_style == 1 + checked: Config.notes_style == 1 } } onAccepted: {