3
0
Fork 0
forked from suyu/suyu

Merge pull request #4536 from lioncash/semi3

yuzu: Resolve -Wextra-semi warnings
This commit is contained in:
bunnei 2020-08-16 14:35:43 -04:00 committed by GitHub
commit ada9b7fb77
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 6 deletions

View file

@ -406,7 +406,7 @@ bool GameList::isEmpty() const {
type == GameListItemType::SysNandDir)) {
item_model->invisibleRootItem()->removeRow(child->row());
i--;
};
}
}
return !item_model->invisibleRootItem()->hasChildren();
}

View file

@ -374,7 +374,7 @@ void GameListWorker::run() {
ScanFileSystem(ScanTarget::PopulateGameList, game_dir.path.toStdString(),
game_dir.deep_scan ? 256 : 0, game_list_dir);
}
};
}
emit Finished(watch_list);
}

View file

@ -29,14 +29,14 @@ extern const Themes themes;
struct GameDir {
QString path;
bool deep_scan;
bool expanded;
bool deep_scan = false;
bool expanded = false;
bool operator==(const GameDir& rhs) const {
return path == rhs.path;
};
}
bool operator!=(const GameDir& rhs) const {
return !operator==(rhs);
};
}
};
struct Values {