Commit 9a354271 authored by Adriaan de Groot's avatar Adriaan de Groot

[netinstall] Remove unused m_jobs

- Netinstall doesn't make any jobs itself, so drop the member variable
- Use type alias, and simplify jobs()
parent 1a74a713
......@@ -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 )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment