diff --git a/src/citra_qt/game_list_p.h b/src/citra_qt/game_list_p.h index 02d7283601..cde8445bcd 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(); } };