summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar bunnei2020-12-06 00:45:23 -0800
committerGravatar GitHub2020-12-06 00:45:23 -0800
commitc67c25db05aeefa8612c95f1b8a47da23a6c3ed3 (patch)
tree1ac09f1bcaa49ca7d49c6e0206f4b7fe309438d3 /src
parentMerge pull request #5133 from lioncash/video-shadow2 (diff)
parentgame_list_p: Resolve deprecated usage of QVariant operator< (diff)
downloadyuzu-c67c25db05aeefa8612c95f1b8a47da23a6c3ed3.tar.gz
yuzu-c67c25db05aeefa8612c95f1b8a47da23a6c3ed3.tar.xz
yuzu-c67c25db05aeefa8612c95f1b8a47da23a6c3ed3.zip
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.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:
174 } 174 }
175 175
176 bool operator<(const QStandardItem& other) const override { 176 bool operator<(const QStandardItem& other) const override {
177 return data(CompatNumberRole) < other.data(CompatNumberRole); 177 return data(CompatNumberRole).value<QString>() <
178 other.data(CompatNumberRole).value<QString>();
178 } 179 }
179}; 180};
180 181