mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2025-06-25 10:47:55 -05:00
game_list: Make the AddEntry argument a const reference
appendRow takes a QList by const reference, so it doesn't need to be modifiable.
This commit is contained in:
@ -49,7 +49,7 @@ GameList::~GameList() {
|
||||
emit ShouldCancelWorker();
|
||||
}
|
||||
|
||||
void GameList::AddEntry(QList<QStandardItem*> entry_items) {
|
||||
void GameList::AddEntry(const QList<QStandardItem*>& entry_items) {
|
||||
item_model->invisibleRootItem()->appendRow(entry_items);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user