Merge pull request #5648 from FearlessTobi/port-5139

Port yuzu-emu/yuzu#5139: "game_list_p: Resolve deprecated usage of QVariant operator<"
master
bunnei 2020-12-30 01:53:01 +07:00 committed by GitHub
commit 3c1211e9fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

@ -274,7 +274,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>();
}
};