From 385237dbbd5261ff2825e5b054166ae6a225e423 Mon Sep 17 00:00:00 2001 From: Ulf Hermann Date: Tue, 19 Apr 2016 16:43:30 +0200 Subject: Use Utils::Port where possible This solves the ambiguity between 0 and -1 being the "invalid" port. Change-Id: I3bac11dd4117bb1820fbd58186699925b73df1c5 Reviewed-by: hjk --- src/plugins/debugger/qml/qmlengine.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/plugins/debugger/qml/qmlengine.h') diff --git a/src/plugins/debugger/qml/qmlengine.h b/src/plugins/debugger/qml/qmlengine.h index 0e90d8573c..5e534ab08e 100644 --- a/src/plugins/debugger/qml/qmlengine.h +++ b/src/plugins/debugger/qml/qmlengine.h @@ -60,8 +60,8 @@ private slots: void errorMessageBoxFinished(int result); void updateCurrentContext(); - void tryToConnect(quint16 port = 0); - void beginConnection(quint16 port = 0); + void tryToConnect(Utils::Port port = Utils::Port()); + void beginConnection(Utils::Port port = Utils::Port()); void connectionEstablished(); void connectionStartupFailed(); void appStartupFailed(const QString &errorMessage); -- cgit v1.2.1