Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Multimedia
Elisa
Commits
ccc23dc5
Verified
Commit
ccc23dc5
authored
Nov 16, 2021
by
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
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/qml/SettingsForm.qml
View file @
ccc23dc5
...
...
@@ -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
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment