fix build warning in settings (#2081)

* fix warning ui::SetAutostartView::opts' should be initialized in the member initialization list

* clang

---------

Co-authored-by: gullradriel <gullradriel@no-mail.com>
This commit is contained in:
gullradriel 2024-04-03 21:17:48 +02:00 committed by GitHub
parent c48cbb7e55
commit 23cf1c2737
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -810,8 +810,8 @@ class SetAutostartView : public View {
private:
int32_t i = 0;
std::string autostart_app{""};
OptionsField::options_t opts;
std::map<int32_t, std::string> full_app_list; // looking table
OptionsField::options_t opts{};
std::map<int32_t, std::string> full_app_list{}; // looking table
int32_t selected = 0;
SettingsStore nav_setting{
"nav"sv,