diff --git a/src/citra_qt/game_list_p.h b/src/citra_qt/game_list_p.h index 02d728360..cde8445bc 100644 --- a/src/citra_qt/game_list_p.h +++ b/src/citra_qt/game_list_p.h @@ -274,7 +274,8 @@ public: } bool operator<(const QStandardItem& other) const override { - return data(CompatNumberRole) < other.data(CompatNumberRole); + return data(CompatNumberRole).value() < + other.data(CompatNumberRole).value(); } };