[qt6] Use JS functions format to declare explicit parameters in slots

This commit is contained in:
Candice Bentéjac 2024-10-01 17:12:25 +02:00
parent 2b569c1fd8
commit 05e7d9eaee
4 changed files with 13 additions and 13 deletions

View file

@ -178,7 +178,7 @@ Item {
DropArea {
anchors.fill: parent
keys: ["text/uri-list"]
onDropped: {
onDropped: function(drop) {
viewer2D.loadExternal(drop.urls[0]);
}
}