mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 15:32:46 +00:00 
			
		
		
		
	Ladybird: Let Qt pick the reload shortcut
This fixes an issue on platforms where Ctrl+R is the preferred native shortcut, and we were effectively trying to set it twice.
This commit is contained in:
		
							parent
							
								
									1242bd5ee5
								
							
						
					
					
						commit
						f476b827de
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -56,7 +56,7 @@ Tab::Tab(BrowserWindow* window, StringView webdriver_content_ipc_path) | |||
|     m_forward_action->setShortcuts(QKeySequence::keyBindings(QKeySequence::StandardKey::Forward)); | ||||
|     m_home_action = make<QAction>(QIcon(home_icon_path), "Home"); | ||||
|     m_reload_action = make<QAction>(QIcon(reload_icon_path), "Reload"); | ||||
|     m_reload_action->setShortcuts({ QKeySequence("Ctrl+R"), QKeySequence::StandardKey::Refresh }); | ||||
|     m_reload_action->setShortcuts(QKeySequence::keyBindings(QKeySequence::StandardKey::Refresh)); | ||||
| 
 | ||||
|     m_toolbar->addAction(m_back_action); | ||||
|     m_toolbar->addAction(m_forward_action); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Andreas Kling
						Andreas Kling