mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-30 21:30:04 +00:00 
			
		
		
		
	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.
This commit is contained in:
		
							parent
							
								
									7402001787
								
							
						
					
					
						commit
						3bbd35dde9
					
				
					 1 changed files with 4 additions and 7 deletions
				
			
		|  | @ -33,18 +33,15 @@ public: | ||||||
|     void SaveInterfaceLayout(); |     void SaveInterfaceLayout(); | ||||||
|     void LoadInterfaceLayout(); |     void LoadInterfaceLayout(); | ||||||
| 
 | 
 | ||||||
| public slots: |  | ||||||
|     void AddEntry(const QList<QStandardItem*>& entry_items); |  | ||||||
| 
 |  | ||||||
| private slots: |  | ||||||
|     void ValidateEntry(const QModelIndex& item); |  | ||||||
|     void DonePopulating(); |  | ||||||
| 
 |  | ||||||
| signals: | signals: | ||||||
|     void GameChosen(QString game_path); |     void GameChosen(QString game_path); | ||||||
|     void ShouldCancelWorker(); |     void ShouldCancelWorker(); | ||||||
| 
 | 
 | ||||||
| private: | private: | ||||||
|  |     void AddEntry(const QList<QStandardItem*>& entry_items); | ||||||
|  |     void ValidateEntry(const QModelIndex& item); | ||||||
|  |     void DonePopulating(); | ||||||
|  | 
 | ||||||
|     QTreeView* tree_view = nullptr; |     QTreeView* tree_view = nullptr; | ||||||
|     QStandardItemModel* item_model = nullptr; |     QStandardItemModel* item_model = nullptr; | ||||||
|     GameListWorker* current_worker = nullptr; |     GameListWorker* current_worker = nullptr; | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue