diff options
| author | 2016-12-11 06:17:09 -0500 | |
|---|---|---|
| committer | 2016-12-11 11:45:50 +0000 | |
| commit | 3bbd35dde93b81f43907f09b39e63adc146b0b25 (patch) | |
| tree | f68559252c1dd2b973822bf8787b7d0f143ca429 /src | |
| parent | game_list: Make the constructor explicit (diff) | |
| download | yuzu-3bbd35dde93b81f43907f09b39e63adc146b0b25.tar.gz yuzu-3bbd35dde93b81f43907f09b39e63adc146b0b25.tar.xz yuzu-3bbd35dde93b81f43907f09b39e63adc146b0b25.zip | |
game_list: Make slots private functions
The new Qt event syntax allows for regular member functions to be used in
connect(), so explicitly indicating slots isn't necessary.
Diffstat (limited to 'src')
| -rw-r--r-- | src/citra_qt/game_list.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/citra_qt/game_list.h b/src/citra_qt/game_list.h index 7b0602842..30b2c79a8 100644 --- a/src/citra_qt/game_list.h +++ b/src/citra_qt/game_list.h | |||
| @@ -33,18 +33,15 @@ public: | |||
| 33 | void SaveInterfaceLayout(); | 33 | void SaveInterfaceLayout(); |
| 34 | void LoadInterfaceLayout(); | 34 | void LoadInterfaceLayout(); |
| 35 | 35 | ||
| 36 | public slots: | ||
| 37 | void AddEntry(const QList<QStandardItem*>& entry_items); | ||
| 38 | |||
| 39 | private slots: | ||
| 40 | void ValidateEntry(const QModelIndex& item); | ||
| 41 | void DonePopulating(); | ||
| 42 | |||
| 43 | signals: | 36 | signals: |
| 44 | void GameChosen(QString game_path); | 37 | void GameChosen(QString game_path); |
| 45 | void ShouldCancelWorker(); | 38 | void ShouldCancelWorker(); |
| 46 | 39 | ||
| 47 | private: | 40 | private: |
| 41 | void AddEntry(const QList<QStandardItem*>& entry_items); | ||
| 42 | void ValidateEntry(const QModelIndex& item); | ||
| 43 | void DonePopulating(); | ||
| 44 | |||
| 48 | QTreeView* tree_view = nullptr; | 45 | QTreeView* tree_view = nullptr; |
| 49 | QStandardItemModel* item_model = nullptr; | 46 | QStandardItemModel* item_model = nullptr; |
| 50 | GameListWorker* current_worker = nullptr; | 47 | GameListWorker* current_worker = nullptr; |