summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2016-12-11 03:27:38 +0100
committerlinkmauve <linkmauve@linkmauve.fr>2016-12-11 12:45:50 +0100
commitdb33d7668e1bc0308fa06346e25bd01cfa3f420b (patch)
tree67fad36b889d131d1e7ea2997df7372cac605dff
parentgame_list: Replace 0 literals with nullptr (diff)
downloadyuzu-db33d7668e1bc0308fa06346e25bd01cfa3f420b.tar
yuzu-db33d7668e1bc0308fa06346e25bd01cfa3f420b.tar.gz
yuzu-db33d7668e1bc0308fa06346e25bd01cfa3f420b.tar.bz2
yuzu-db33d7668e1bc0308fa06346e25bd01cfa3f420b.tar.lz
yuzu-db33d7668e1bc0308fa06346e25bd01cfa3f420b.tar.xz
yuzu-db33d7668e1bc0308fa06346e25bd01cfa3f420b.tar.zst
yuzu-db33d7668e1bc0308fa06346e25bd01cfa3f420b.zip
-rw-r--r--src/citra_qt/game_list.cpp2
-rw-r--r--src/citra_qt/game_list.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/citra_qt/game_list.cpp b/src/citra_qt/game_list.cpp
index ad6c3e334..e536628dd 100644
--- a/src/citra_qt/game_list.cpp
+++ b/src/citra_qt/game_list.cpp
@@ -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);
}
diff --git a/src/citra_qt/game_list.h b/src/citra_qt/game_list.h
index a22e9bc60..8be951395 100644
--- a/src/citra_qt/game_list.h
+++ b/src/citra_qt/game_list.h
@@ -34,7 +34,7 @@ public:
void LoadInterfaceLayout();
public slots:
- void AddEntry(QList<QStandardItem*> entry_items);
+ void AddEntry(const QList<QStandardItem*>& entry_items);
private slots:
void ValidateEntry(const QModelIndex& item);