diff options
Diffstat (limited to 'src/plugins/qmlprofiler/localqmlprofilerrunner.h')
-rw-r--r-- | src/plugins/qmlprofiler/localqmlprofilerrunner.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/plugins/qmlprofiler/localqmlprofilerrunner.h b/src/plugins/qmlprofiler/localqmlprofilerrunner.h index c634cc62bf..757f09f8ae 100644 --- a/src/plugins/qmlprofiler/localqmlprofilerrunner.h +++ b/src/plugins/qmlprofiler/localqmlprofilerrunner.h @@ -27,6 +27,7 @@ #include "qmlprofiler_global.h" #include <utils/environment.h> +#include <utils/port.h> #include <projectexplorer/applicationlauncher.h> #include <projectexplorer/runnables.h> @@ -40,14 +41,14 @@ class QMLPROFILER_EXPORT LocalQmlProfilerRunner : public QObject public: struct Configuration { ProjectExplorer::StandardRunnable debuggee; - quint16 port; + Utils::Port port; QString socket; }; LocalQmlProfilerRunner(const Configuration &configuration, QmlProfilerRunControl *engine); ~LocalQmlProfilerRunner(); - static quint16 findFreePort(QString &host); + static Utils::Port findFreePort(QString &host); static QString findFreeSocket(); signals: |