[netinstall] Remove unused m_jobs

- Netinstall doesn't make any jobs itself, so drop the member variable
- Use type alias, and simplify jobs()
This commit is contained in:
Adriaan de Groot 2020-03-27 15:14:37 +01:00
parent 1a74a713b6
commit 9a35427113
2 changed files with 3 additions and 4 deletions

View file

@ -111,10 +111,10 @@ NetInstallViewStep::isAtEnd() const
}
QList< Calamares::job_ptr >
Calamares::JobList
NetInstallViewStep::jobs() const
{
return m_jobs;
return Calamares::JobList();
}

View file

@ -47,7 +47,7 @@ public:
bool isAtBeginning() const override;
bool isAtEnd() const override;
QList< Calamares::job_ptr > jobs() const override;
Calamares::JobList jobs() const override;
void onActivate() override;
@ -63,7 +63,6 @@ private:
NetInstallPage* m_widget;
bool m_nextEnabled;
CalamaresUtils::Locale::TranslatedString* m_sidebarLabel; // As it appears in the sidebar
QList< Calamares::job_ptr > m_jobs;
};
CALAMARES_PLUGIN_FACTORY_DECLARATION( NetInstallViewStepFactory )