diff options
author | Egor Nemtsev <enemtsev@luxoft.com> | 2020-07-22 15:00:36 +0300 |
---|---|---|
committer | Egor Nemtsev <enemtsev@luxoft.com> | 2020-07-22 14:15:06 +0000 |
commit | 5a197ab4fa85ca5368d894e9db0acd1e9d44cc5e (patch) | |
tree | cafaddaa0da47aec5e5aa1c4c4e8d56d3baaffc7 /src/remotesettings | |
parent | 4e8b40ef55f48bca2c633efe93693d8be8431a7d (diff) |
[sysui] replace onFoo handlers for Connections
- Connections { target: someTarget; onFoo: {} } is now deprecated
and warning is generated. onFoo should be changed to
'function onFoo(params)'
Fixes: AUTOSUITE-1597
Change-Id: I87d93939fa821c53bdf26478baa5444387b1b20e
Reviewed-by: Grigorii Zimin <gzimin@luxoft.com>
Diffstat (limited to 'src/remotesettings')
-rw-r--r-- | src/remotesettings/app/main.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/remotesettings/app/main.qml b/src/remotesettings/app/main.qml index 95d0b80f..d677b1e4 100644 --- a/src/remotesettings/app/main.qml +++ b/src/remotesettings/app/main.qml @@ -143,7 +143,7 @@ ApplicationWindow { Connections { target: client - onServerUrlChanged: { + function onServerUrlChanged() { if (client.serverUrl.toString().length) connectionDialog.url = client.serverUrl.toString(); else @@ -153,7 +153,7 @@ ApplicationWindow { Connections { target: client - onConnectedChanged: { + function onConnectedChanged() { if (client.connected) connectionDialog.close(); } |