mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-01-29 19:55:37 +00:00
Tidied up an if statement in GameSelectorComponent.
This commit is contained in:
parent
dae911262d
commit
ad0cfdba8b
|
@ -29,9 +29,8 @@ public:
|
|||
~GameSelectorComponent()
|
||||
{
|
||||
if (std::find(SystemData::sSystemVector.cbegin(), SystemData::sSystemVector.cend(),
|
||||
mSystem) != SystemData::sSystemVector.cend())
|
||||
mSystem->getRootFolder()->setUpdateListCallback(nullptr);
|
||||
else if (SystemData::sSystemVector.size() != 0 && mSystem->isGroupedCustomCollection())
|
||||
mSystem) != SystemData::sSystemVector.cend() ||
|
||||
(SystemData::sSystemVector.size() != 0 && mSystem->isGroupedCustomCollection()))
|
||||
mSystem->getRootFolder()->setUpdateListCallback(nullptr);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue