mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 09:37:29 +02:00
fix code standard issue
This commit is contained in:
parent
68b18def22
commit
606b6d8947
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,7 @@ Menu::Menu() {
|
||||||
});
|
});
|
||||||
|
|
||||||
// Edit > Delete
|
// Edit > Delete
|
||||||
auto deleteAction =addActionToQMenuAndActionHash(editMenu, "Delete", QKeySequence::Delete);
|
auto deleteAction = addActionToQMenuAndActionHash(editMenu, "Delete", QKeySequence::Delete);
|
||||||
connect(deleteAction, &QAction::triggered, [] {
|
connect(deleteAction, &QAction::triggered, [] {
|
||||||
QKeyEvent* keyEvent = new QKeyEvent(QEvent::KeyPress, Qt::Key_Delete, Qt::ControlModifier);
|
QKeyEvent* keyEvent = new QKeyEvent(QEvent::KeyPress, Qt::Key_Delete, Qt::ControlModifier);
|
||||||
QCoreApplication::postEvent(QCoreApplication::instance(), keyEvent);
|
QCoreApplication::postEvent(QCoreApplication::instance(), keyEvent);
|
||||||
|
|
Loading…
Reference in a new issue