mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 20:32:44 +00:00 
			
		
		
		
	Applications: Map Alt+F4 to Quit in FileManager/ProcessManager/Terminal.
This commit is contained in:
		
							parent
							
								
									7c06431ff7
								
							
						
					
					
						commit
						b0c673265a
					
				
					 6 changed files with 35 additions and 10 deletions
				
			
		|  | @ -64,7 +64,7 @@ int main(int argc, char** argv) | |||
|     auto menubar = make<GMenuBar>(); | ||||
| 
 | ||||
|     auto app_menu = make<GMenu>("FileManager"); | ||||
|     app_menu->add_action(GAction::create("Quit", String(), [] (const GAction&) { | ||||
|     app_menu->add_action(GAction::create("Quit", { Mod_Alt, Key_F4 }, [] (const GAction&) { | ||||
|         GApplication::the().quit(0); | ||||
|         return; | ||||
|     })); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Andreas Kling
						Andreas Kling