Commit 23298ff2 authored by Jean-Baptiste Demonte's avatar Jean-Baptiste Demonte

chore(favorite): small code optim

parent d7fafbd1
......@@ -862,6 +862,7 @@ void SystemView::manageFavorite(){
for (auto& mEntrie : mEntries)
if(mEntrie.object->isFavorite()){
hasFavorite = true;
break;
}
SystemData *favorite = SystemData::getFavoriteSystem();
if(hasFavorite) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment