Commit 2974558c authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

operator+/- is disabled for QFlags in qt6

parent 7f043973
......@@ -405,7 +405,7 @@ void MainWindow::setupActions()
m_newGameAction = KStandardGameAction::gameNew(this, SLOT(newGame()), actionCollection());
m_loadGameAction = KStandardGameAction::load(this, SLOT(loadGame()), actionCollection());
m_getMoreGamesAction = new QAction(QIcon::fromTheme( QStringLiteral( "get-hot-new-stuff") ), i18nc("@action", "Get More Games..." ), this);
actionCollection()->setDefaultShortcut(m_getMoreGamesAction, Qt::CTRL + Qt::Key_G);
actionCollection()->setDefaultShortcut(m_getMoreGamesAction, Qt::CTRL | Qt::Key_G);
m_getMoreGamesAction->setToolTip(i18nc("@action", "Get More Games..."));
connect(m_getMoreGamesAction, &QAction::triggered, this, &MainWindow::getMoreGames);
actionCollection()->addAction( QStringLiteral( "get_more_games" ), m_getMoreGamesAction);
......
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