Commit 85836afe authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

operator+/- is disabled for QFlags in qt6

parent 9d891b98
...@@ -474,7 +474,7 @@ void SettingsBase::changeToolBar( BaseMode::ToolBarItems toolbar ) ...@@ -474,7 +474,7 @@ void SettingsBase::changeToolBar( BaseMode::ToolBarItems toolbar )
QList<QAction*> searchBarActions; QList<QAction*> searchBarActions;
searchBarActions << spacerAction << searchAction; searchBarActions << spacerAction << searchAction;
guiFactory()->plugActionList( this, QStringLiteral("search"), searchBarActions ); guiFactory()->plugActionList( this, QStringLiteral("search"), searchBarActions );
actionCollection()->setDefaultShortcut(searchAction, QKeySequence(Qt::CTRL + Qt::Key_F)); actionCollection()->setDefaultShortcut(searchAction, QKeySequence(Qt::CTRL | Qt::Key_F));
} }
if ( (BaseMode::Configure & toolbar) && configureAction) { if ( (BaseMode::Configure & toolbar) && configureAction) {
QList<QAction*> configureBarActions; QList<QAction*> configureBarActions;
......
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