mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 05:52:46 +00:00 
			
		
		
		
	LibGUI: Fix group name columns in FileSystemModel
This commit is contained in:
		
							parent
							
								
									6d66462254
								
							
						
					
					
						commit
						c69686f1b2
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		|  | @ -233,10 +233,10 @@ String FileSystemModel::name_for_uid(uid_t uid) const | |||
|     return (*it).value; | ||||
| } | ||||
| 
 | ||||
| String FileSystemModel::name_for_gid(uid_t gid) const | ||||
| String FileSystemModel::name_for_gid(gid_t gid) const | ||||
| { | ||||
|     auto it = m_user_names.find(gid); | ||||
|     if (it == m_user_names.end()) | ||||
|     auto it = m_group_names.find(gid); | ||||
|     if (it == m_group_names.end()) | ||||
|         return String::number(gid); | ||||
|     return (*it).value; | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Tibor Nagy
						Tibor Nagy