mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-04-10 19:15:13 +00:00
Removed some obsolete UI mode logic from SystemView
This commit is contained in:
parent
a9d99a04c6
commit
7b2fd1e566
|
@ -811,17 +811,6 @@ void SystemView::populate()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (mPrimary->getNumEntries() == 0) {
|
|
||||||
// Something is wrong, there is not a single system to show, check if UI mode is not full.
|
|
||||||
if (!UIModeController::getInstance()->isUIModeFull()) {
|
|
||||||
Settings::getInstance()->setString("UIMode", "full");
|
|
||||||
mWindow->pushGui(new GuiMsgBox(
|
|
||||||
getHelpStyle(),
|
|
||||||
"The selected UI mode has nothing to show,\n returning to UI mode \"Full\"", "OK",
|
|
||||||
nullptr));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
mFadeTransitions = (static_cast<ViewTransitionAnimation>(Settings::getInstance()->getInt(
|
mFadeTransitions = (static_cast<ViewTransitionAnimation>(Settings::getInstance()->getInt(
|
||||||
"TransitionsSystemToSystem")) == ViewTransitionAnimation::FADE);
|
"TransitionsSystemToSystem")) == ViewTransitionAnimation::FADE);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue