diff options
author | fearlessTobi <[email protected]> | 2019-05-05 01:52:17 +0200 |
---|---|---|
committer | FearlessTobi <[email protected]> | 2019-09-04 16:47:32 +0200 |
commit | dfec9c9a437b7478abd8b280f6ce513da595ba73 (patch) | |
tree | 37c126892697f63d7c2a74f6df411bc7f0662396 /src/yuzu/game_list.h | |
parent | 7a8f4840205799d837ac32401b4143c716a8bc3d (diff) | |
download | yuzu-android-dfec9c9a437b7478abd8b280f6ce513da595ba73.tar.gz yuzu-android-dfec9c9a437b7478abd8b280f6ce513da595ba73.zip |
Address more trivial review comments
Diffstat (limited to 'src/yuzu/game_list.h')
-rw-r--r-- | src/yuzu/game_list.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/yuzu/game_list.h b/src/yuzu/game_list.h index cf5bd3a39..7ed77fd9c 100644 --- a/src/yuzu/game_list.h +++ b/src/yuzu/game_list.h @@ -8,6 +8,7 @@ #include <QHBoxLayout> #include <QLabel> #include <QLineEdit> +#include <QList> #include <QModelIndex> #include <QSettings> #include <QStandardItem> @@ -24,8 +25,6 @@ class GameListWorker; class GameListSearchField; -template <typename> -class QList; class GameListDir; class GMainWindow; @@ -56,11 +55,11 @@ public: FileSys::ManualContentProvider* provider, GMainWindow* parent = nullptr); ~GameList() override; - QString getLastFilterResultItem(); + QString getLastFilterResultItem() const; void clearFilter(); void setFilterFocus(); void setFilterVisible(bool visibility); - bool isEmpty(); + bool isEmpty() const; void LoadCompatibilityList(); void PopulateAsync(QList<UISettings::GameDir>& game_dirs); @@ -135,7 +134,6 @@ protected: void mouseDoubleClickEvent(QMouseEvent* event) override; private: - GMainWindow* main_window = nullptr; QVBoxLayout* layout = nullptr; QLabel* image = nullptr; QLabel* text = nullptr; |