mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-30 21:30:04 +00:00 
			
		
		
		
	game_list: Remove unnecessary QString initialization in KeyReleaseEater
QString initializes to an empty string by default, so this does nothing meaningful. While we're at it, use a constructor initializer list for initializing the gamelist member variable.
This commit is contained in:
		
							parent
							
								
									7f1303a834
								
							
						
					
					
						commit
						033e889645
					
				
					 1 changed files with 1 additions and 4 deletions
				
			
		|  | @ -31,10 +31,7 @@ | |||
| #include "core/hle/service/fs/archive.h" | ||||
| #include "core/loader/loader.h" | ||||
| 
 | ||||
| GameList::SearchField::KeyReleaseEater::KeyReleaseEater(GameList* gamelist) { | ||||
|     this->gamelist = gamelist; | ||||
|     edit_filter_text_old = ""; | ||||
| } | ||||
| GameList::SearchField::KeyReleaseEater::KeyReleaseEater(GameList* gamelist) : gamelist{gamelist} {} | ||||
| 
 | ||||
| // EventFilter in order to process systemkeys while editing the searchfield
 | ||||
| bool GameList::SearchField::KeyReleaseEater::eventFilter(QObject* obj, QEvent* event) { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue