Browse Source
Merge pull request #5139 from lioncash/deprecated-qt
game_list_p: Resolve deprecated usage of QVariant operator<
pull/15/merge
bunnei
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
1 deletions
-
src/yuzu/game_list_p.h
|
|
|
@ -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>(); |
|
|
|
} |
|
|
|
}; |
|
|
|
|
|
|
|
|