last deprecation warning in a full build of demo/Polyhedron

This commit is contained in:
Laurent Rineau 2023-08-24 17:53:32 +02:00
parent dc7f6af55d
commit f9c213735b
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ void Polyhedron_demo_edit_polyhedron_plugin::init(QMainWindow* mainWindow, CGAL:
actionDeformation->setObjectName("actionDeformation");
actionDeformation->setShortcutContext(Qt::ApplicationShortcut);
autoConnectActions();
e_shortcut = new QShortcut(QKeySequence(Qt::CTRL + Qt::Key_E), mw);
e_shortcut = new QShortcut(QKeySequence(Qt::CTRL | Qt::Key_E), mw);
connect(e_shortcut, &QShortcut::activated, this, &Polyhedron_demo_edit_polyhedron_plugin::dispatchAction);
connect(e_shortcut, &QShortcut::activatedAmbiguously, this, &Polyhedron_demo_edit_polyhedron_plugin::dispatchAction);