Commit 1fd08561 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix deprecate operator

parent 1dcdb87e
Pipeline #150554 passed with stage
in 44 seconds
......@@ -128,7 +128,7 @@ void KEBApp::createActions()
QAction *m_actionsImplNewFolder = actionCollection()->addAction(QStringLiteral("newfolder"));
m_actionsImplNewFolder->setIcon(QIcon::fromTheme(QStringLiteral("folder-new")));
m_actionsImplNewFolder->setText(i18n("&New Folder..."));
actionCollection()->setDefaultShortcut(m_actionsImplNewFolder, Qt::CTRL + Qt::Key_N);
actionCollection()->setDefaultShortcut(m_actionsImplNewFolder, Qt::CTRL | Qt::Key_N);
connect(m_actionsImplNewFolder, &QAction::triggered, m_actionsImpl, &ActionsImpl::slotNewFolder);
QAction *m_actionsImplNewBookmark = actionCollection()->addAction(QStringLiteral("newbookmark"));
......@@ -138,7 +138,7 @@ void KEBApp::createActions()
QAction *m_actionsImplInsertSeparator = actionCollection()->addAction(QStringLiteral("insertseparator"));
m_actionsImplInsertSeparator->setText(i18n("&Insert Separator"));
actionCollection()->setDefaultShortcut(m_actionsImplInsertSeparator, Qt::CTRL + Qt::Key_I);
actionCollection()->setDefaultShortcut(m_actionsImplInsertSeparator, Qt::CTRL | Qt::Key_I);
connect(m_actionsImplInsertSeparator, &QAction::triggered, m_actionsImpl, &ActionsImpl::slotInsertSeparator);
QAction *m_actionsImplSort = actionCollection()->addAction(QStringLiteral("sort"));
......
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