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

operator+/- is disabled for QFlags in qt6

parent c74576e2
......@@ -180,7 +180,7 @@ namespace Oxygen
}
// connections
QShortcut* shortcut( new QShortcut( Qt::CTRL + Qt::Key_X, this ) );
QShortcut* shortcut( new QShortcut( Qt::CTRL | Qt::Key_X, this ) );
for( auto item:items )
{
if( item->widget()->metaObject()->indexOfSlot( "benchmark()" ) >= 0 )
......
......@@ -59,11 +59,11 @@ namespace Oxygen
menu = menuBar->addMenu( i18n( "Tools" ) );
QAction* action;
connect( action = menu->addAction( QIcon::fromTheme( QStringLiteral( "arrow-right" ) ), i18n( "Select Next Window" ) ), SIGNAL(triggered()), ui.mdiArea, SLOT(activateNextSubWindow()) );
action->setShortcut( Qt::CTRL + Qt::Key_Tab );
action->setShortcut( Qt::CTRL | Qt::Key_Tab );
addAction( action );
connect( action = menu->addAction( QIcon::fromTheme( QStringLiteral( "arrow-left" ) ), i18n( "Select Previous Window" ) ), SIGNAL(triggered()), ui.mdiArea, SLOT(activatePreviousSubWindow()) );
action->setShortcut( Qt::CTRL + Qt::SHIFT + Qt::Key_Tab );
action->setShortcut( Qt::CTRL | Qt::SHIFT | Qt::Key_Tab );
addAction( 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