mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 15:32:46 +00:00 
			
		
		
		
	Userland: Port Model::column_name() to String
				
					
				
			This commit is contained in:
		
							parent
							
								
									741f07dedf
								
							
						
					
					
						commit
						945f05ed76
					
				
					 70 changed files with 218 additions and 222 deletions
				
			
		|  | @ -53,15 +53,15 @@ int ProjectTemplatesModel::column_count(const GUI::ModelIndex&) const | |||
|     return Column::__Count; | ||||
| } | ||||
| 
 | ||||
| DeprecatedString ProjectTemplatesModel::column_name(int column) const | ||||
| String ProjectTemplatesModel::column_name(int column) const | ||||
| { | ||||
|     switch (column) { | ||||
|     case Column::Icon: | ||||
|         return "Icon"; | ||||
|         return "Icon"_short_string; | ||||
|     case Column::Id: | ||||
|         return "ID"; | ||||
|         return "ID"_short_string; | ||||
|     case Column::Name: | ||||
|         return "Name"; | ||||
|         return "Name"_short_string; | ||||
|     } | ||||
|     VERIFY_NOT_REACHED(); | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Karol Kosek
						Karol Kosek