GH-2591 less std::shared_ptr and more shared_qobject_ptr
This eliminates some weird crashes.
This commit is contained in:
parent
414946cad9
commit
70ed30f9e6
25 changed files with 79 additions and 83 deletions
|
@ -1,4 +1,5 @@
|
|||
#include "BaseProfiler.h"
|
||||
#include "QObjectPtr.h"
|
||||
|
||||
#include <QProcess>
|
||||
|
||||
|
@ -7,7 +8,7 @@ BaseProfiler::BaseProfiler(SettingsObjectPtr settings, InstancePtr instance, QOb
|
|||
{
|
||||
}
|
||||
|
||||
void BaseProfiler::beginProfiling(std::shared_ptr<LaunchTask> process)
|
||||
void BaseProfiler::beginProfiling(shared_qobject_ptr<LaunchTask> process)
|
||||
{
|
||||
beginProfilingImpl(process);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue