diff options
author | hjk <hjk@qt.io> | 2017-01-16 15:53:53 +0100 |
---|---|---|
committer | hjk <hjk@qt.io> | 2017-01-17 11:19:12 +0000 |
commit | 3e8a1ea7ad7a8e8da3b29078479b4af1327e1ae8 (patch) | |
tree | 6990236c19fcd60dc09add0fc2125a2bfd8bba4e /src/plugins/projectexplorer/localapplicationruncontrol.cpp | |
parent | 135000fc9b7447317c6139fcf898982e134c6f12 (diff) |
ProjectExplorer: Move ProcessHandle to Utils for further re-use
Also, use qint64 instead of quint64, as this is what Qt uses.
Keep 0 for invalid PIDs, even if arguably -1 would be better,
but Qt uses 0, too.
Don't move 'toString', instead inline it into the only
caller, keeping translations intact.
Task-number: QTCREATORBUG-17596
Change-Id: Ie9411ea1d2031a5ab0a99bcb3ff48ee430afe254
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
Diffstat (limited to 'src/plugins/projectexplorer/localapplicationruncontrol.cpp')
-rw-r--r-- | src/plugins/projectexplorer/localapplicationruncontrol.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/projectexplorer/localapplicationruncontrol.cpp b/src/plugins/projectexplorer/localapplicationruncontrol.cpp index d6a2357d89..22b021ed0a 100644 --- a/src/plugins/projectexplorer/localapplicationruncontrol.cpp +++ b/src/plugins/projectexplorer/localapplicationruncontrol.cpp @@ -36,6 +36,8 @@ #include <QDir> +using namespace Utils; + namespace ProjectExplorer { namespace Internal { |