Utils: Rename winQPidToPid to qPidToPid

... and make it a no-op on non-Windows. Saves #ifdefs.

Change-Id: Ie791f7b9f1a425325d0b889e73758c5f7f7e6ad2
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
This commit is contained in:
hjk
2013-07-12 09:00:12 +02:00
parent 80e657b390
commit b89afac9d4
7 changed files with 26 additions and 26 deletions

View File

@@ -135,11 +135,7 @@ void ValgrindProcess::run(const QString &valgrindExecutable, const QStringList &
m_localProcess.setCommand(valgrindExecutable, m_arguments);
m_localProcess.start();
m_localProcess.waitForStarted();
#ifdef Q_OS_WIN
m_pid = Utils::winQPidToPid(m_localProcess.pid());
#else
m_pid = m_localProcess.pid();
#endif
m_pid = Utils::qPidToPid(m_localProcess.pid());
} else {
m_remote.m_valgrindExe = valgrindExecutable;
m_remote.m_debuggee = debuggeeExecutable;