bunnei
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
7 additions and
7 deletions
-
src/yuzu/game_list_p.h
|
|
@ -126,13 +126,6 @@ public: |
|
|
|
|
|
|
|
|
return GameListItem::data(role); |
|
|
return GameListItem::data(role); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
* Override to prevent automatic sorting. |
|
|
|
|
|
*/ |
|
|
|
|
|
bool operator<(const QStandardItem& other) const override { |
|
|
|
|
|
return false; |
|
|
|
|
|
} |
|
|
|
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
class GameListItemCompat : public GameListItem { |
|
|
class GameListItemCompat : public GameListItem { |
|
|
@ -279,6 +272,13 @@ public: |
|
|
return static_cast<int>(dir_type); |
|
|
return static_cast<int>(dir_type); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
* Override to prevent automatic sorting between folders and the addDir button. |
|
|
|
|
|
*/ |
|
|
|
|
|
bool operator<(const QStandardItem& other) const override { |
|
|
|
|
|
return false; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
private: |
|
|
private: |
|
|
GameListItemType dir_type; |
|
|
GameListItemType dir_type; |
|
|
}; |
|
|
}; |
|
|
|