forked from qt-creator/qt-creator
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>
This commit is contained in:
@@ -640,7 +640,7 @@ bool CdbEngine::launchCDB(const DebuggerRunParameters &sp, QString *errorMessage
|
||||
return false;
|
||||
}
|
||||
|
||||
const unsigned long pid = Utils::qPidToPid(m_process.pid());
|
||||
const qint64 pid = m_process.processId();
|
||||
showMessage(QString::fromLatin1("%1 running as %2").
|
||||
arg(QDir::toNativeSeparators(executable)).arg(pid), LogMisc);
|
||||
m_hasDebuggee = true;
|
||||
|
||||
Reference in New Issue
Block a user