Commit 13342930 authored by Laurent Montel's avatar Laurent Montel 😁

operator+/- is disabled for QFlags in qt6

parent 4d7c210d
......@@ -363,7 +363,7 @@ KDirSelectDialog::KDirSelectDialog(const QUrl &startDir, bool localOnly, QWidget
d->deleteAction = new QAction(i18nc("@action:inmenu", "Delete"), this);
d->m_actions->addAction(d->deleteAction->objectName(), d->deleteAction);
d->deleteAction->setIcon(QIcon::fromTheme(QStringLiteral("edit-delete")));
d->deleteAction->setShortcut(Qt::SHIFT + Qt::Key_Delete);
d->deleteAction->setShortcut(Qt::SHIFT | Qt::Key_Delete);
connect(d->deleteAction, SIGNAL(triggered(bool)), this, SLOT(slotDelete()));
d->m_contextMenu->addAction(d->deleteAction);
......@@ -379,7 +379,7 @@ KDirSelectDialog::KDirSelectDialog(const QUrl &startDir, bool localOnly, QWidget
QAction *propertiesAction = new QAction(i18nc("@action:inmenu", "Properties"), this);
d->m_actions->addAction(propertiesAction->objectName(), propertiesAction);
propertiesAction->setIcon(QIcon::fromTheme(QStringLiteral("document-properties")));
propertiesAction->setShortcut(Qt::ALT + Qt::Key_Return);
propertiesAction->setShortcut(Qt::ALT | Qt::Key_Return);
connect(propertiesAction, SIGNAL(triggered(bool)), this, SLOT(slotProperties()));
d->m_contextMenu->addAction(propertiesAction);
......
Markdown is supported
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