diff options
author | bunnei <bunneidev@gmail.com> | 2020-12-06 00:45:23 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-06 00:45:23 -0800 |
commit | c67c25db05aeefa8612c95f1b8a47da23a6c3ed3 (patch) | |
tree | 1ac09f1bcaa49ca7d49c6e0206f4b7fe309438d3 /src | |
parent | f2f346e1104106eb9323f0e141e0e67312c29849 (diff) | |
parent | c277d7d171f32a7a7cbe91063c5ae32cca5f4ad6 (diff) |
Merge pull request #5139 from lioncash/deprecated-qt
game_list_p: Resolve deprecated usage of QVariant operator<
Diffstat (limited to 'src')
-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>(); } }; |