Library migration #36

Merged
dorian merged 62 commits from library_migration into master 2024-10-17 17:52:36 +02:00
3 changed files with 4 additions and 7 deletions
Showing only changes of commit 1ddf07eab3 - Show all commits

View file

@ -55,10 +55,10 @@ Column {
width: parent.width
height: parentObj.delegateHeight
checked: appTheme.setting === "Dark"
checked: appTheme.setting.value === "Dark"
onCheckedChanged: {
appTheme.setting.value = checked ? "Dark":"Light"
appTheme.setting.setValue(checked ? "Dark":"Light")
}
}
}

View file

@ -102,10 +102,7 @@ Window {
ScStwAppThemeManager {
id: appTheme
property ScStwSetting setting: speedBackend.settings.getSetting(ScStwAppSettings.AppThemeSetting, ScStwAppSettings.KeyLevel)
Component.onCompleted: {
appTheme.setTheme(speedBackend.settings.readSetting(ScStwAppSettings.AppThemeSetting))
}
themeName: setting.value
}
/*------------------------

@ -1 +1 @@
Subproject commit e3cea065580dd1b5855f2860d7d21d545ec59790
Subproject commit ec2d6fb9ef359684fefda4f640f64ce2e7e6c89c