summaryrefslogtreecommitdiff
path: root/src/citra_qt/game_list.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2016-12-10 21:27:38 -0500
committerlinkmauve <linkmauve@linkmauve.fr>2016-12-11 11:45:50 +0000
commitdb33d7668e1bc0308fa06346e25bd01cfa3f420b (patch)
tree67fad36b889d131d1e7ea2997df7372cac605dff /src/citra_qt/game_list.h
parentaa05d368233892ab0256d6e9d0af959e15315e41 (diff)
game_list: Make the AddEntry argument a const reference
appendRow takes a QList by const reference, so it doesn't need to be modifiable.
Diffstat (limited to 'src/citra_qt/game_list.h')
-rw-r--r--src/citra_qt/game_list.h2
1 files changed, 1 insertions, 1 deletions
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);