Skip to content

Commit 11d1c70

Browse files
authored
Merge pull request #377 from Esri/jared/conn_warning_fix_vnext
fixes warnings in toolkit.
2 parents 1f0a621 + f2e505e commit 11d1c70

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

Examples/AR/QmlArExample/qml/main.qml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ ApplicationWindow {
5050
// Connect to the locationChanged signal, to update the QML messages
5151
Connections {
5252
target: arcGISArView.locationDataSource
53-
onLocationChanged: {
53+
function onLocationChanged(location) {
5454
if (!tabletopMode)
5555
waitingForInitialization = false;
5656
}

Import/Esri/ArcGISRuntime/Toolkit/Controls/Callout.qml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ Item {
280280
Connections {
281281
id: calloutConnection
282282
target: calloutData
283-
onScreenPointChanged: {
283+
function onScreenPointChanged() {
284284
anchorPointx = calloutData.screenPoint.x;
285285
anchorPointy = calloutData.screenPoint.y;
286286

@@ -293,7 +293,7 @@ Item {
293293
showCallout();
294294
}
295295

296-
onVisibleChanged: {
296+
function onVisibleChanged() {
297297
if (calloutData.visible) {
298298
showCallout();
299299
}
@@ -302,7 +302,7 @@ Item {
302302
}
303303
}
304304

305-
onTitleChanged: {
305+
function onTitleChanged() {
306306
if (calloutVisible)
307307
showCallout();
308308
}

Import/Esri/ArcGISRuntime/Toolkit/Controls/OverviewMap20.qml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ Item {
8989
Connections {
9090
target: parentMapview
9191

92-
onVisibleAreaChanged: {
92+
function onVisibleAreaChanged() {
9393
updateView();
9494
}
9595
}

Import/Esri/ArcGISRuntime/Toolkit/Controls/StyleButton20.qml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,12 +95,12 @@ Button {
9595

9696
Connections {
9797
target: control
98-
onPressedChanged: {
98+
function onPressedChanged() {
9999
if (control.pressed)
100100
fader.start();
101101
}
102102

103-
onHoveredChanged: {
103+
function onHoveredChanged() {
104104
if (control.hovered)
105105
fader.stop();
106106
else

Import/Esri/ArcGISRuntime/Toolkit/Dialogs/AuthenticationView.qml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ Item {
105105
Connections {
106106
target: authenticationManager
107107

108-
onAuthenticationChallenge: {
108+
function onAuthenticationChallenge(challenge) {
109109
authChallenge = challenge;
110110

111111
if (Number(challenge.authenticationChallengeType) === 1) {

Import/Esri/ArcGISRuntime/Toolkit/Dialogs/ClientCertificateView.qml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ Rectangle {
415415
Connections {
416416
target: authView.authenticationManager
417417

418-
onClientCertificatePasswordRequired: {
418+
function onClientCertificatePasswordRequired(certificate) {
419419
certificatePasswordPage.certificateFile = certificate;
420420

421421
certificateFilename = certificatePasswordPage.certificateFile.toString().split("/").pop();

0 commit comments

Comments
 (0)