Commit b8629d7e authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

operator+/- is disabled for QFlags in qt6

parent 660bb5a9
...@@ -291,7 +291,7 @@ Selector::Selector(QWidget *parent, KActionCollection *actionCollection) ...@@ -291,7 +291,7 @@ Selector::Selector(QWidget *parent, KActionCollection *actionCollection)
deleteFileAction = actionCollection->addAction(QStringLiteral("deleteFile"), this, SLOT(deleteFile())); deleteFileAction = actionCollection->addAction(QStringLiteral("deleteFile"), this, SLOT(deleteFile()));
deleteFileAction->setText(i18n("Delete File")); deleteFileAction->setText(i18n("Delete File"));
deleteFileAction->setIcon(QIcon::fromTheme(QStringLiteral("edit-delete"))); deleteFileAction->setIcon(QIcon::fromTheme(QStringLiteral("edit-delete")));
deleteFileAction->setShortcut(QKeySequence(Qt::SHIFT + Qt::Key_Delete)); deleteFileAction->setShortcut(QKeySequence(Qt::SHIFT | Qt::Key_Delete));
menu->addAction(deleteFileAction); menu->addAction(deleteFileAction);
action = actionCollection->addAction(QStringLiteral("properties"), this, SLOT(properties())); action = actionCollection->addAction(QStringLiteral("properties"), this, SLOT(properties()));
......
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