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:
@@ -50,7 +50,7 @@ namespace Debugger {
|
||||
// Do not add anything that needs implementation in a .cpp file.
|
||||
|
||||
const int InvalidPort = -1;
|
||||
const int InvalidPid = -1;
|
||||
const qint64 InvalidPid = -1;
|
||||
|
||||
class DEBUGGER_EXPORT RemoteSetupResult
|
||||
{
|
||||
@@ -64,7 +64,7 @@ public:
|
||||
|
||||
int gdbServerPort;
|
||||
int qmlServerPort;
|
||||
int inferiorPid;
|
||||
qint64 inferiorPid;
|
||||
bool success;
|
||||
QString reason;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user