Commit 99dcd465 authored by Laurent Montel's avatar Laurent Montel
Browse files

operator+/- is disabled for QFlags in qt6

parent 27ea0cb4
......@@ -87,7 +87,7 @@ void ResourcesModel::init(bool load)
m_updateAction = new QAction(this);
m_updateAction->setText(i18nc("@action Checks the Internet for updates", "Check for Updates"));
m_updateAction->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_R));
m_updateAction->setShortcut(QKeySequence(Qt::CTRL | Qt::Key_R));
connect(this, &ResourcesModel::fetchingChanged, m_updateAction, [this](bool fetching) {
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