mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 22:02:44 +00:00 
			
		
		
		
	LibGUI+Applications: Give SettingsWindow tabs a string ID
This gives us a convenient way to refer to them, which will be used in the following commit.
This commit is contained in:
		
							parent
							
								
									4d2e18fb07
								
							
						
					
					
						commit
						ded5ba1f87
					
				
					 9 changed files with 35 additions and 34 deletions
				
			
		|  | @ -28,8 +28,8 @@ ErrorOr<int> serenity_main(Main::Arguments arguments) | |||
| 
 | ||||
|     auto window = TRY(GUI::SettingsWindow::create("Terminal Settings")); | ||||
|     window->set_icon(app_icon.bitmap_for_size(16)); | ||||
|     (void)TRY(window->add_tab<TerminalSettingsMainWidget>("Terminal")); | ||||
|     (void)TRY(window->add_tab<TerminalSettingsViewWidget>("View")); | ||||
|     (void)TRY(window->add_tab<TerminalSettingsMainWidget>("Terminal", "terminal")); | ||||
|     (void)TRY(window->add_tab<TerminalSettingsViewWidget>("View", "view")); | ||||
| 
 | ||||
|     window->show(); | ||||
|     return app->exec(); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Sam Atkins
						Sam Atkins