diff options
author | Lioncash <mathew1800@gmail.com> | 2016-12-11 03:27:38 +0100 |
---|---|---|
committer | linkmauve <linkmauve@linkmauve.fr> | 2016-12-11 12:45:50 +0100 |
commit | db33d7668e1bc0308fa06346e25bd01cfa3f420b (patch) | |
tree | 67fad36b889d131d1e7ea2997df7372cac605dff | |
parent | game_list: Replace 0 literals with nullptr (diff) | |
download | yuzu-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.cpp | 2 | ||||
-rw-r--r-- | src/citra_qt/game_list.h | 2 |
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); |