mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-01-31 04:25:40 +00:00
Fixed two Clang compiler warnings
This commit is contained in:
parent
706dd767f1
commit
82d6693e23
|
@ -477,7 +477,7 @@ void GuiMenu::openUIOptions()
|
|||
if (systemsSorting->getSelectedObjects().size() == 0)
|
||||
systemsSorting->selectEntry(0);
|
||||
s->addWithLabel("SYSTEMS SORTING", systemsSorting);
|
||||
s->addSaveFunc([this, systemsSorting, s] {
|
||||
s->addSaveFunc([systemsSorting, s] {
|
||||
if (systemsSorting->getSelected() != Settings::getInstance()->getString("SystemsSorting")) {
|
||||
Settings::getInstance()->setString("SystemsSorting", systemsSorting->getSelected());
|
||||
s->setNeedsSaving();
|
||||
|
@ -535,7 +535,7 @@ void GuiMenu::openUIOptions()
|
|||
if (menuColorScheme->getSelectedObjects().size() == 0)
|
||||
menuColorScheme->selectEntry(0);
|
||||
s->addWithLabel("MENU COLOR SCHEME", menuColorScheme);
|
||||
s->addSaveFunc([this, menuColorScheme, s] {
|
||||
s->addSaveFunc([menuColorScheme, s] {
|
||||
if (menuColorScheme->getSelected() !=
|
||||
Settings::getInstance()->getString("MenuColorScheme")) {
|
||||
Settings::getInstance()->setString("MenuColorScheme", menuColorScheme->getSelected());
|
||||
|
|
Loading…
Reference in a new issue