diff options
author | Bernd Weimer <bernd.weimer@pelagicore.com> | 2020-03-13 17:53:13 +0100 |
---|---|---|
committer | Bernd Weimer <bernd.weimer@pelagicore.com> | 2020-05-27 14:08:28 +0000 |
commit | df0d5e4730a85fd7ce13d10aced5fdb3ae7feef9 (patch) | |
tree | 23faf7bb0bd94b062ac00a2c6d5dd5641c9408c4 /examples/applicationmanager/intents | |
parent | 042476a1c1d18c5838791fc71e6dbb1d0d7e8b4e (diff) |
Define functions in QML Connections explicitly
Don't use implicitly defined handler, since this is deprecated from
Qt 5.15. This works since Qt 5.14 only, but we are tied to 5.15,
anyways.
Change-Id: I82e66b0c6186237757e060bfb21d86c91ec8498b
Reviewed-by: Robert Griebl <robert.griebl@qt.io>
Diffstat (limited to 'examples/applicationmanager/intents')
-rw-r--r-- | examples/applicationmanager/intents/system-ui.qml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/applicationmanager/intents/system-ui.qml b/examples/applicationmanager/intents/system-ui.qml index f212d3c8..9a88ed9a 100644 --- a/examples/applicationmanager/intents/system-ui.qml +++ b/examples/applicationmanager/intents/system-ui.qml @@ -144,7 +144,9 @@ Item { //! [Connection] Connections { target: IntentServer - onDisambiguationRequest: { disambiguationDialog.add(requestId, potentialIntents) } + function onDisambiguationRequest(requestId, potentialIntents) { + disambiguationDialog.add(requestId, potentialIntents) + } } //! [Connection] |