summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2020-12-05 21:38:55 +0100
committerLioncash <mathew1800@gmail.com>2020-12-05 21:38:58 +0100
commitc277d7d171f32a7a7cbe91063c5ae32cca5f4ad6 (patch)
tree1ac09f1bcaa49ca7d49c6e0206f4b7fe309438d3
parentMerge pull request #5133 from lioncash/video-shadow2 (diff)
downloadyuzu-c277d7d171f32a7a7cbe91063c5ae32cca5f4ad6.tar
yuzu-c277d7d171f32a7a7cbe91063c5ae32cca5f4ad6.tar.gz
yuzu-c277d7d171f32a7a7cbe91063c5ae32cca5f4ad6.tar.bz2
yuzu-c277d7d171f32a7a7cbe91063c5ae32cca5f4ad6.tar.lz
yuzu-c277d7d171f32a7a7cbe91063c5ae32cca5f4ad6.tar.xz
yuzu-c277d7d171f32a7a7cbe91063c5ae32cca5f4ad6.tar.zst
yuzu-c277d7d171f32a7a7cbe91063c5ae32cca5f4ad6.zip
-rw-r--r--src/yuzu/game_list_p.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/yuzu/game_list_p.h b/src/yuzu/game_list_p.h
index 248855aff..df935022d 100644
--- a/src/yuzu/game_list_p.h
+++ b/src/yuzu/game_list_p.h
@@ -174,7 +174,8 @@ public:
}
bool operator<(const QStandardItem& other) const override {
- return data(CompatNumberRole) < other.data(CompatNumberRole);
+ return data(CompatNumberRole).value<QString>() <
+ other.data(CompatNumberRole).value<QString>();
}
};