[netinstall] Remove unused m_jobs

- Netinstall doesn't make any jobs itself, so drop the member variable
- Use type alias, and simplify jobs()
main
Adriaan de Groot 5 years ago
parent 1a74a713b6
commit 9a35427113

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

@ -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 )

Loading…
Cancel
Save