Skip to content
Snippets Groups Projects
Unverified Commit c67c25db authored by bunnei's avatar bunnei Committed by GitHub
Browse files

Merge pull request #5139 from lioncash/deprecated-qt

game_list_p: Resolve deprecated usage of QVariant operator<
parents f2f346e1 c277d7d1
No related branches found
No related tags found
No related merge requests found
......@@ -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>();
}
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment