diff options
author | bunnei <bunneidev@gmail.com> | 2020-12-06 09:45:23 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-06 09:45:23 +0100 |
commit | c67c25db05aeefa8612c95f1b8a47da23a6c3ed3 (patch) | |
tree | 1ac09f1bcaa49ca7d49c6e0206f4b7fe309438d3 | |
parent | Merge pull request #5133 from lioncash/video-shadow2 (diff) | |
parent | game_list_p: Resolve deprecated usage of QVariant operator< (diff) | |
download | yuzu-c67c25db05aeefa8612c95f1b8a47da23a6c3ed3.tar yuzu-c67c25db05aeefa8612c95f1b8a47da23a6c3ed3.tar.gz yuzu-c67c25db05aeefa8612c95f1b8a47da23a6c3ed3.tar.bz2 yuzu-c67c25db05aeefa8612c95f1b8a47da23a6c3ed3.tar.lz yuzu-c67c25db05aeefa8612c95f1b8a47da23a6c3ed3.tar.xz yuzu-c67c25db05aeefa8612c95f1b8a47da23a6c3ed3.tar.zst yuzu-c67c25db05aeefa8612c95f1b8a47da23a6c3ed3.zip |
-rw-r--r-- | src/yuzu/game_list_p.h | 3 |
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>(); } }; |