forked from qt-creator/qt-creator
ProcessInterface: Get rid of ProcessInterface::Ptr
Keep the setup data on stack instead on heap. Task-number: QTCREATORBUG-27358 Change-Id: I0fffd525e2bd4f46533804e3b88fe5b330d02a91 Reviewed-by: hjk <hjk@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
@@ -374,7 +374,7 @@ QStringList CallerHandle::arguments() const
|
||||
return m_arguments;
|
||||
}
|
||||
|
||||
void CallerHandle::setProcessSetupData(const ProcessSetupData::Ptr &setup)
|
||||
void CallerHandle::setProcessSetupData(ProcessSetupData *setup)
|
||||
{
|
||||
QTC_ASSERT(isCalledFromCallersThread(), return);
|
||||
m_setup = setup;
|
||||
|
||||
Reference in New Issue
Block a user