Commit 19ea9ed2 authored by Tomaz  Canabrava's avatar Tomaz Canabrava
Browse files

Qt6 Fixes

parent 61cec157
......@@ -72,7 +72,7 @@ void QuickCommandsPlugin::activeViewChanged(Konsole::SessionController *controll
settings.beginGroup(QStringLiteral("plugins"));
settings.beginGroup(QStringLiteral("quickcommands"));
const QKeySequence def(Qt::CTRL + Qt::ALT + Qt::Key_G);
const QKeySequence def(Qt::CTRL | Qt::ALT | Qt::Key_G);
const QString defText = def.toString();
const QString entry = settings.value(QStringLiteral("shortcut"), defText).toString();
const QKeySequence shortcutEntry(entry);
......
......@@ -114,7 +114,7 @@ void SSHManagerPlugin::activeViewChanged(Konsole::SessionController *controller,
settings.beginGroup(QStringLiteral("plugins"));
settings.beginGroup(QStringLiteral("sshplugin"));
const QKeySequence def(Qt::CTRL + Qt::ALT + Qt::Key_H);
const QKeySequence def(Qt::CTRL | Qt::ALT | Qt::Key_H);
const QString defText = def.toString();
const QString entry = settings.value(QStringLiteral("ssh_shortcut"), defText).toString();
const QKeySequence shortcutEntry(entry);
......
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