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

operator+/- is disabled for QFlags in qt6

parent b6ab4516
......@@ -349,7 +349,7 @@ KFindTreeView::KFindTreeView(QWidget *parent, KfindDlg *findDialog)
QAction *del = new QAction(QIcon::fromTheme(QStringLiteral("edit-delete")), i18n("&Delete"), this);
connect(del, &QAction::triggered, this, &KFindTreeView::deleteSelectedFiles);
m_actionCollection->setDefaultShortcut(del, Qt::SHIFT + Qt::Key_Delete);
m_actionCollection->setDefaultShortcut(del, Qt::SHIFT | Qt::Key_Delete);
QAction *trash = new QAction(QIcon::fromTheme(QStringLiteral("user-trash")), i18n("&Move to Trash"), this);
connect(trash, &QAction::triggered, this, &KFindTreeView::moveToTrashSelectedFiles);
......
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