Commit 8f22ee8b authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

operator+/- is disabled for QFlags in qt6

parent 4661b51d
...@@ -170,7 +170,7 @@ void MainWindow::setupActions() ...@@ -170,7 +170,7 @@ void MainWindow::setupActions()
actionCollection()->addAction( QStringLiteral( "kb_turn_clockwise" ), action); actionCollection()->addAction( QStringLiteral( "kb_turn_clockwise" ), action);
action = new QAction(i18n("Keyboard: Turn counterclockwise"),this); action = new QAction(i18n("Keyboard: Turn counterclockwise"),this);
actionCollection()->setDefaultShortcut(action, Qt::CTRL + Qt::Key_Return); actionCollection()->setDefaultShortcut(action, Qt::CTRL | Qt::Key_Return);
connect(action, SIGNAL(triggered()), m_view->rootObject(), SLOT(rotateCounterclockwise())); connect(action, SIGNAL(triggered()), m_view->rootObject(), SLOT(rotateCounterclockwise()));
actionCollection()->addAction( QStringLiteral( "kb_turn_counterclockwise" ), action); actionCollection()->addAction( QStringLiteral( "kb_turn_counterclockwise" ), action);
......
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