Commit ef01fac2 authored by Tomaz  Canabrava's avatar Tomaz Canabrava
Browse files

More Qt6 port

parent 19ea9ed2
Pipeline #242933 passed with stage
in 6 minutes and 52 seconds
......@@ -122,7 +122,7 @@ QList<QAction *> QuickCommandsPlugin::menuBarActions(Konsole::MainWindow *mainWi
{
QAction *toggleVisibilityAction = new QAction(i18n("Show Quick Commands"), mainWindow);
toggleVisibilityAction->setCheckable(true);
toggleVisibilityAction->setShortcut(QKeySequence(Qt::CTRL + Qt::SHIFT + Qt::Key_F1));
toggleVisibilityAction->setShortcut(QKeySequence(Qt::CTRL | Qt::SHIFT | Qt::Key_F1));
connect(toggleVisibilityAction, &QAction::triggered, priv->dockForWindow[mainWindow], &QDockWidget::setVisible);
connect(priv->dockForWindow[mainWindow], &QDockWidget::visibilityChanged, toggleVisibilityAction, &QAction::setChecked);
......
......@@ -91,7 +91,7 @@ QList<QAction *> SSHManagerPlugin::menuBarActions(Konsole::MainWindow *mainWindo
QAction *toggleVisibilityAction = new QAction(i18n("Show SSH Manager"), mainWindow);
toggleVisibilityAction->setCheckable(true);
toggleVisibilityAction->setShortcut(QKeySequence(Qt::CTRL + Qt::SHIFT + Qt::Key_F2));
toggleVisibilityAction->setShortcut(QKeySequence(Qt::CTRL | Qt::SHIFT | Qt::Key_F2));
connect(toggleVisibilityAction, &QAction::triggered, d->dockForWindow[mainWindow], &QDockWidget::setVisible);
connect(d->dockForWindow[mainWindow], &QDockWidget::visibilityChanged, toggleVisibilityAction, &QAction::setChecked);
......
Q_SIGNAL void quickAccessShortcutChanged(QKeySequence shortcut);
/* This file was part of the KDE libraries
SPDX-FileCopyrightText: 2021 Tomaz Canabrava <tcanabrava@kde.org>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment