summaryrefslogtreecommitdiff
path: root/src/plugins/winrt/winrtdebugsupport.h
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2016-04-19 16:43:30 +0200
committerUlf Hermann <ulf.hermann@qt.io>2016-04-20 11:06:34 +0000
commit385237dbbd5261ff2825e5b054166ae6a225e423 (patch)
tree3020c9ec0187a614915d291a6768eb94b0105e7c /src/plugins/winrt/winrtdebugsupport.h
parente14238650c841fdb314ded3ec59253beff1514a7 (diff)
downloadqt-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/winrt/winrtdebugsupport.h')
-rw-r--r--src/plugins/winrt/winrtdebugsupport.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/winrt/winrtdebugsupport.h b/src/plugins/winrt/winrtdebugsupport.h
index 08a21dbf99..82705576fa 100644
--- a/src/plugins/winrt/winrtdebugsupport.h
+++ b/src/plugins/winrt/winrtdebugsupport.h
@@ -48,7 +48,7 @@ private:
WinRtDebugSupport(ProjectExplorer::RunControl *runControl, WinRtRunnerHelper *runner);
static bool useQmlDebugging(WinRtRunConfiguration *runConfig);
- static bool getFreePort(quint16 &qmlDebuggerPort, QString *errorMessage);
+ static bool getFreePort(Utils::Port &qmlDebuggerPort, QString *errorMessage);
ProjectExplorer::RunControl *m_debugRunControl;
WinRtRunnerHelper *m_runner;