Commit 88d62b9b authored by Tomaz  Canabrava's avatar Tomaz Canabrava
Browse files

Allow to compile in Qt6

parent 0af654d9
......@@ -76,7 +76,7 @@ QuickCommandsWidget::QuickCommandsWidget(QWidget *parent)
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);
......
......@@ -140,7 +140,7 @@ SSHManagerTreeWidget::SSHManagerTreeWidget(QWidget *parent)
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