Verified Commit ccc23dc5 authored by Ilija Tovilo's avatar Ilija Tovilo
Browse files

Fix qml deprecations in settings

Use Qml 5.15 Connections function syntax
parent a2905e1e
Pipeline #98589 passed with stage
in 8 minutes and 9 seconds
......@@ -158,8 +158,7 @@ ColumnLayout {
Connections {
target: ElisaConfigurationDialog
onEmbeddedViewChanged:
{
function onEmbeddedViewChanged() {
if (ElisaConfigurationDialog.embeddedView == ElisaUtils.Unknown) {
embeddedCategoryCombo.currentIndex = 0
} else if (ElisaConfigurationDialog.embeddedView == ElisaUtils.Album) {
......@@ -203,7 +202,9 @@ ColumnLayout {
Connections {
target: ElisaConfigurationDialog
onInitialViewIndexChanged: initialViewCombo.currentIndex = ElisaConfigurationDialog.initialViewIndex
function onInitialViewIndexChanged() {
initialViewCombo.currentIndex = ElisaConfigurationDialog.initialViewIndex
}
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment