mirror of
https://github.com/PabloMK7/citra.git
synced 2024-11-15 11:33:27 +01:00
Merge pull request #5648 from FearlessTobi/port-5139
Port yuzu-emu/yuzu#5139: "game_list_p: Resolve deprecated usage of QVariant operator<"
This commit is contained in:
commit
3c1211e9fe
@ -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>();
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user