diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2016-04-19 16:43:30 +0200 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2016-04-20 11:06:34 +0000 |
commit | 385237dbbd5261ff2825e5b054166ae6a225e423 (patch) | |
tree | 3020c9ec0187a614915d291a6768eb94b0105e7c /src/plugins/debugger/qml/qmlengine.h | |
parent | e14238650c841fdb314ded3ec59253beff1514a7 (diff) | |
download | qt-creator-385237dbbd5261ff2825e5b054166ae6a225e423.tar.gz |
Use Utils::Port where possible
This solves the ambiguity between 0 and -1 being the "invalid" port.
Change-Id: I3bac11dd4117bb1820fbd58186699925b73df1c5
Reviewed-by: hjk <hjk@theqtcompany.com>
Diffstat (limited to 'src/plugins/debugger/qml/qmlengine.h')
-rw-r--r-- | src/plugins/debugger/qml/qmlengine.h | 4 |
1 files changed, 2 insertions, 2 deletions
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); |