mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 05:52:46 +00:00 
			
		
		
		
	AK: Make "foo"_string infallible
Stop worrying about tiny OOMs. Work towards #20405.
This commit is contained in:
		
							parent
							
								
									db2a8725c6
								
							
						
					
					
						commit
						34344120f2
					
				
					 181 changed files with 626 additions and 630 deletions
				
			
		|  | @ -43,7 +43,7 @@ public: | |||
|     { | ||||
|         switch (column) { | ||||
|         case Column::Filename: | ||||
|             return TRY("Filename"_string); | ||||
|             return "Filename"_string; | ||||
|         case Column::Location: | ||||
|             return "#"_short_string; | ||||
|         case Column::MatchedText: | ||||
|  | @ -122,7 +122,7 @@ FindInFilesWidget::FindInFilesWidget() | |||
| 
 | ||||
|     m_textbox = top_container.add<GUI::TextBox>(); | ||||
| 
 | ||||
|     m_button = top_container.add<GUI::Button>("Find"_string.release_value_but_fixme_should_propagate_errors()); | ||||
|     m_button = top_container.add<GUI::Button>("Find"_string); | ||||
|     m_button->set_fixed_width(50); | ||||
| 
 | ||||
|     m_result_view = add<GUI::TableView>(); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Andreas Kling
						Andreas Kling