chore: reformat

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
Sefa Eyeoglu
2023-08-14 18:16:53 +02:00
parent 779f70057b
commit 91ba4cf75e
603 changed files with 15840 additions and 16257 deletions

View File

@@ -3,10 +3,8 @@
#include <QProcess>
BaseProfiler::BaseProfiler(SettingsObjectPtr settings, InstancePtr instance, QObject *parent)
: BaseExternalTool(settings, instance, parent)
{
}
BaseProfiler::BaseProfiler(SettingsObjectPtr settings, InstancePtr instance, QObject* parent) : BaseExternalTool(settings, instance, parent)
{}
void BaseProfiler::beginProfiling(shared_qobject_ptr<LaunchTask> process)
{
@@ -20,8 +18,7 @@ void BaseProfiler::abortProfiling()
void BaseProfiler::abortProfilingImpl()
{
if (!m_profilerProcess)
{
if (!m_profilerProcess) {
return;
}
m_profilerProcess->terminate();
@@ -30,7 +27,7 @@ void BaseProfiler::abortProfilingImpl()
emit abortLaunch(tr("Profiler aborted"));
}
BaseProfiler *BaseProfilerFactory::createProfiler(InstancePtr instance, QObject *parent)
BaseProfiler* BaseProfilerFactory::createProfiler(InstancePtr instance, QObject* parent)
{
return qobject_cast<BaseProfiler *>(createTool(instance, parent));
return qobject_cast<BaseProfiler*>(createTool(instance, parent));
}