aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/projectexplorer/applicationlauncher.cpp
diff options
context:
space:
mode:
authorhjk <hjk@theqtcompany.com>2015-09-11 13:13:04 +0200
committerhjk <hjk@theqtcompany.com>2015-09-16 12:08:16 +0000
commit77661e378a60465b1f3b39fcf56dd66923af2b84 (patch)
treeeb2ac393d46da9f95713706cdcc90dd753e8ab03 /src/plugins/projectexplorer/applicationlauncher.cpp
parent1a8faab311ea954adedae61f553c2b5b4373304d (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.cpp2
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