[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

@ -285,7 +285,7 @@ FocusScope {
Connections {
target: _reconstruction
onSelectedViewIdChanged: {
function onSelectedViewIdChanged() {
root.source = getImageFile();
if (useExternal)
useExternal = false;