GH-1053 base process and launch refactor, part 1
This commit is contained in:
parent
d14a61b0df
commit
34ddfc7ecc
29 changed files with 743 additions and 603 deletions
|
@ -19,16 +19,6 @@ BaseExternalTool::~BaseExternalTool()
|
|||
{
|
||||
}
|
||||
|
||||
qint64 BaseExternalTool::pid(QProcess *process)
|
||||
{
|
||||
#ifdef Q_OS_WIN
|
||||
struct _PROCESS_INFORMATION *procinfo = process->pid();
|
||||
return procinfo->dwProcessId;
|
||||
#else
|
||||
return process->pid();
|
||||
#endif
|
||||
}
|
||||
|
||||
BaseDetachedTool::BaseDetachedTool(SettingsObjectPtr settings, InstancePtr instance, QObject *parent)
|
||||
: BaseExternalTool(settings, instance, parent)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue