diff options
author | hjk <hjk@theqtcompany.com> | 2015-09-11 13:13:04 +0200 |
---|---|---|
committer | hjk <hjk@theqtcompany.com> | 2015-09-16 12:08:16 +0000 |
commit | 77661e378a60465b1f3b39fcf56dd66923af2b84 (patch) | |
tree | eb2ac393d46da9f95713706cdcc90dd753e8ab03 /src/plugins/projectexplorer/applicationlauncher.cpp | |
parent | 1a8faab311ea954adedae61f553c2b5b4373304d (diff) |
Utils: Remove qPidToPid() adapter function
Since Qt 5.3, there's a QProcess::processId() providing direct access.
Change-Id: Ia9c143c7a92ec61d1aa36ff3f4670ba72a509634
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
Diffstat (limited to 'src/plugins/projectexplorer/applicationlauncher.cpp')
-rw-r--r-- | src/plugins/projectexplorer/applicationlauncher.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/projectexplorer/applicationlauncher.cpp b/src/plugins/projectexplorer/applicationlauncher.cpp index 4fe9419834..4c655def76 100644 --- a/src/plugins/projectexplorer/applicationlauncher.cpp +++ b/src/plugins/projectexplorer/applicationlauncher.cpp @@ -212,7 +212,7 @@ qint64 ApplicationLauncher::applicationPID() const if (d->m_currentMode == Console) return d->m_consoleProcess.applicationPID(); else - return Utils::qPidToPid(d->m_guiProcess.pid()); + return d->m_guiProcess.processId(); } QString ApplicationLauncher::errorString() const |