diff options
author | Lioncash <mathew1800@gmail.com> | 2016-12-11 06:17:09 -0500 |
---|---|---|
committer | linkmauve <linkmauve@linkmauve.fr> | 2016-12-11 11:45:50 +0000 |
commit | 3bbd35dde93b81f43907f09b39e63adc146b0b25 (patch) | |
tree | f68559252c1dd2b973822bf8787b7d0f143ca429 | |
parent | 7402001787773d81b02b1cd2ea2925f5397f5d02 (diff) |
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.
-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: void SaveInterfaceLayout(); void LoadInterfaceLayout(); -public slots: - void AddEntry(const QList<QStandardItem*>& entry_items); - -private slots: - void ValidateEntry(const QModelIndex& item); - void DonePopulating(); - signals: void GameChosen(QString game_path); void ShouldCancelWorker(); private: + void AddEntry(const QList<QStandardItem*>& entry_items); + void ValidateEntry(const QModelIndex& item); + void DonePopulating(); + QTreeView* tree_view = nullptr; QStandardItemModel* item_model = nullptr; GameListWorker* current_worker = nullptr; |