mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 18:44:00 +02:00
Adding key to trigger a browser window
This commit is contained in:
parent
694c215da1
commit
f86b9f62b9
1 changed files with 7 additions and 0 deletions
|
@ -1096,6 +1096,13 @@ void Application::keyPressEvent(QKeyEvent* event) {
|
|||
Menu::getInstance()->triggerOption(MenuOption::AddressBar);
|
||||
break;
|
||||
|
||||
case Qt::Key_B:
|
||||
if (isMeta) {
|
||||
auto offscreenUi = DependencyManager::get<OffscreenUi>();
|
||||
offscreenUi->load("Browser.qml");
|
||||
}
|
||||
break;
|
||||
|
||||
case Qt::Key_L:
|
||||
if (isShifted && isMeta) {
|
||||
Menu::getInstance()->triggerOption(MenuOption::Log);
|
||||
|
|
Loading…
Reference in a new issue