mirror of
https://git.h3cjp.net/H3cJP/yuzu.git
synced 2024-11-15 14:53:12 +00:00
Merge pull request #5139 from lioncash/deprecated-qt
game_list_p: Resolve deprecated usage of QVariant operator<
This commit is contained in:
commit
c67c25db05
|
@ -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>();
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue