[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:
Candice Bentéjac 2023-01-13 17:07:59 +01:00
parent 62ba08447d
commit 8c494198e0
9 changed files with 21 additions and 19 deletions

View file

@ -39,13 +39,13 @@ Item {
Connections {
target: reconstruction
onGraphChanged: {
function onGraphChanged() {
if(panel3dViewerLoader.active) {
panel3dViewerLoader.item.viewer3D.clear()
}
}
onSfmChanged: viewSfM()
onSfmReportChanged: viewSfM()
function onSfmChanged() { viewSfM() }
function onSfmReportChanged() { viewSfM() }
}
Component.onCompleted: viewSfM()