summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-09-17 11:30:09 +0200
committerLioncash <mathew1800@gmail.com>2018-09-17 11:30:11 +0200
commit51b561907962906ce916708feba8226665d33d7f (patch)
treed951733a8613378448b65cc4cb1275b5aeeb6eaf
parentMerge pull request #1308 from valentinvanelslande/ipc (diff)
downloadyuzu-51b561907962906ce916708feba8226665d33d7f.tar
yuzu-51b561907962906ce916708feba8226665d33d7f.tar.gz
yuzu-51b561907962906ce916708feba8226665d33d7f.tar.bz2
yuzu-51b561907962906ce916708feba8226665d33d7f.tar.lz
yuzu-51b561907962906ce916708feba8226665d33d7f.tar.xz
yuzu-51b561907962906ce916708feba8226665d33d7f.tar.zst
yuzu-51b561907962906ce916708feba8226665d33d7f.zip
-rw-r--r--src/yuzu/game_list_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yuzu/game_list_p.h b/src/yuzu/game_list_p.h
index f22e422e5..094437090 100644
--- a/src/yuzu/game_list_p.h
+++ b/src/yuzu/game_list_p.h
@@ -128,7 +128,7 @@ public:
LOG_WARNING(Frontend, "Invalid compatibility number {}", compatiblity.toStdString());
return;
}
- CompatStatus status = iterator->second;
+ const CompatStatus& status = iterator->second;
setData(compatiblity, CompatNumberRole);
setText(QObject::tr(status.text));
setToolTip(QObject::tr(status.tooltip));