mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-07-04 20:36:58 +03:00
Fix many memory leaks.
This commit is contained in:
parent
e1e1d99102
commit
fbc29b6a06
35 changed files with 139 additions and 103 deletions
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
#include <QProcess>
|
||||
|
||||
BaseProfiler::BaseProfiler(BaseInstance *instance, QObject *parent)
|
||||
BaseProfiler::BaseProfiler(InstancePtr instance, QObject *parent)
|
||||
: BaseExternalTool(instance, parent)
|
||||
{
|
||||
}
|
||||
|
|
@ -29,7 +29,7 @@ void BaseProfiler::abortProfilingImpl()
|
|||
emit abortLaunch(tr("Profiler aborted"));
|
||||
}
|
||||
|
||||
BaseProfiler *BaseProfilerFactory::createProfiler(BaseInstance *instance, QObject *parent)
|
||||
BaseProfiler *BaseProfilerFactory::createProfiler(InstancePtr instance, QObject *parent)
|
||||
{
|
||||
return qobject_cast<BaseProfiler *>(createTool(instance, parent));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue