mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-08-04 01:08:26 +02:00
[qml] Qt5.15: Update syntax for slots
Slots now need to be written as function; the previous syntax is deprecated.
This commit is contained in:
parent
62ba08447d
commit
8c494198e0
9 changed files with 21 additions and 19 deletions
|
@ -179,7 +179,7 @@ Panel {
|
|||
// Update grid current item when selected view changes
|
||||
Connections {
|
||||
target: _reconstruction
|
||||
onSelectedViewIdChanged: {
|
||||
function onSelectedViewIdChanged() {
|
||||
if (_reconstruction.selectedViewId > -1) {
|
||||
grid.updateCurrentIndexFromSelectionViewId()
|
||||
}
|
||||
|
|
|
@ -141,7 +141,7 @@ RowLayout {
|
|||
|
||||
Connections {
|
||||
target: attribute
|
||||
onValueChanged: combo.currentIndex = combo.find(attribute.value)
|
||||
function onValueChanged() { combo.currentIndex = combo.find(attribute.value) }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue