[summaryq] a handful of code-style fixes

This commit is contained in:
Adriaan de Groot 2021-07-20 14:45:55 +02:00
parent 235db9f961
commit 6c7e7a6d55
2 changed files with 6 additions and 7 deletions

View File

@ -57,15 +57,17 @@ SummaryQmlViewStep::isAtEnd() const
} }
QList< Calamares::job_ptr > Calamares::JobList
SummaryQmlViewStep::jobs() const SummaryQmlViewStep::jobs() const
{ {
return QList< Calamares::job_ptr >(); return {};
} }
void void
SummaryQmlViewStep::onActivate() SummaryQmlViewStep::onActivate()
{ {
// Collect the steps before this one: those need to have their
// summary (text or widget) displayed.
m_config->init(); m_config->init();
} }

View File

@ -12,14 +12,11 @@
#define SUMMARYQMLVIEWSTEP_H #define SUMMARYQMLVIEWSTEP_H
#include "Config.h" #include "Config.h"
#include "DllMacro.h" #include "DllMacro.h"
#include "utils/PluginFactory.h" #include "utils/PluginFactory.h"
#include "viewpages/QmlViewStep.h" #include "viewpages/QmlViewStep.h"
#include <QObject>
class SummaryPage;
class PLUGINDLLEXPORT SummaryQmlViewStep : public Calamares::QmlViewStep class PLUGINDLLEXPORT SummaryQmlViewStep : public Calamares::QmlViewStep
{ {
Q_OBJECT Q_OBJECT
@ -37,7 +34,7 @@ public:
bool isAtBeginning() const override; bool isAtBeginning() const override;
bool isAtEnd() const override; bool isAtEnd() const override;
QList< Calamares::job_ptr > jobs() const override; Calamares::JobList jobs() const override;
void onActivate() override; void onActivate() override;