GH-1379 fix build with Qt 5.2.1 on ubuntu64

This commit is contained in:
Petr Mrázek
2016-01-07 06:40:26 +01:00
parent 5ff9f90ce9
commit 59e6b4ed55
3 changed files with 11 additions and 1 deletions

View File

@ -148,3 +148,12 @@ void LoggedProcess::on_stateChange(QProcess::ProcessState state)
}
}
}
qint64 LoggedProcess::processId() const
{
#ifdef Q_OS_WIN
return pid() ? pid()->dwProcessId : 0;
#else
return pid();
#endif
}