1
0
Fork 0
mirror of https://github.com/PabloMK7/citra.git synced 2025-03-03 21:26:34 +00:00

Merge pull request from FearlessTobi/port-5139

Port : "game_list_p: Resolve deprecated usage of QVariant operator<"
This commit is contained in:
bunnei 2020-12-30 01:53:01 -08:00 committed by GitHub
commit 3c1211e9fe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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