mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 05:40:04 +00:00 
			
		
		
		
	yuzu/configuration: Make slots private where applicable
These slots are only ever attached to event handling mechanisms within the class itself, they're never used externally. Because of this, we can make the functions private. This also removes redundant usages of the private access specifier.
This commit is contained in:
		
							parent
							
								
									d87961bad3
								
							
						
					
					
						commit
						5840943110
					
				
					 5 changed files with 2 additions and 7 deletions
				
			
		|  | @ -22,10 +22,9 @@ public: | |||
|     void retranslateUi(); | ||||
|     void setConfiguration(); | ||||
| 
 | ||||
| public slots: | ||||
| private: | ||||
|     void updateAudioDevices(int sink_index); | ||||
| 
 | ||||
| private: | ||||
|     void setOutputSinkFromSinkID(); | ||||
|     void setAudioDeviceFromDeviceID(); | ||||
|     void setVolumeIndicatorText(int percentage); | ||||
|  |  | |||
|  | @ -22,6 +22,5 @@ public: | |||
|     void retranslateUi(); | ||||
|     void setConfiguration(); | ||||
| 
 | ||||
| private: | ||||
|     std::unique_ptr<Ui::ConfigureDebug> ui; | ||||
| }; | ||||
|  |  | |||
|  | @ -34,6 +34,5 @@ private: | |||
|     void setConfiguration(); | ||||
|     void retranslateUi(); | ||||
| 
 | ||||
| private: | ||||
|     std::unique_ptr<Ui::ConfigureDialog> ui; | ||||
| }; | ||||
|  |  | |||
|  | @ -22,7 +22,6 @@ public: | |||
|     void retranslateUi(); | ||||
|     void setConfiguration(); | ||||
| 
 | ||||
| private: | ||||
|     std::unique_ptr<Ui::ConfigureGraphics> ui; | ||||
|     QColor bg_color; | ||||
| }; | ||||
|  |  | |||
|  | @ -23,13 +23,12 @@ public: | |||
|     void retranslateUi(); | ||||
|     void setConfiguration(); | ||||
| 
 | ||||
| public slots: | ||||
| private: | ||||
|     void RefreshTelemetryID(); | ||||
|     void OnLoginChanged(); | ||||
|     void VerifyLogin(); | ||||
|     void OnLoginVerified(); | ||||
| 
 | ||||
| private: | ||||
|     bool user_verified = true; | ||||
|     QFutureWatcher<bool> verify_watcher; | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue