mirror of
https://github.com/parchlinux/calamares.git
synced 2025-02-25 03:15:44 -05:00
[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:
parent
1a74a713b6
commit
9a35427113
2 changed files with 3 additions and 4 deletions
|
@ -111,10 +111,10 @@ NetInstallViewStep::isAtEnd() const
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
QList< Calamares::job_ptr >
|
Calamares::JobList
|
||||||
NetInstallViewStep::jobs() const
|
NetInstallViewStep::jobs() const
|
||||||
{
|
{
|
||||||
return m_jobs;
|
return Calamares::JobList();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -47,7 +47,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;
|
||||||
|
|
||||||
|
@ -63,7 +63,6 @@ private:
|
||||||
NetInstallPage* m_widget;
|
NetInstallPage* m_widget;
|
||||||
bool m_nextEnabled;
|
bool m_nextEnabled;
|
||||||
CalamaresUtils::Locale::TranslatedString* m_sidebarLabel; // As it appears in the sidebar
|
CalamaresUtils::Locale::TranslatedString* m_sidebarLabel; // As it appears in the sidebar
|
||||||
QList< Calamares::job_ptr > m_jobs;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
CALAMARES_PLUGIN_FACTORY_DECLARATION( NetInstallViewStepFactory )
|
CALAMARES_PLUGIN_FACTORY_DECLARATION( NetInstallViewStepFactory )
|
||||||
|
|
Loading…
Add table
Reference in a new issue