Commit 7a920725 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

GIT_SILENT: we can use qOverload directly

parent 3c1c5656
......@@ -389,7 +389,8 @@ void MainWindow::setupActions()
{
// Game menu
m_newGameAction = KStandardGameAction::gameNew(this, &MainWindow::newGame, actionCollection());
m_loadGameAction = KStandardGameAction::load(this, QOverload<>::of(&MainWindow::loadGame), actionCollection());
m_loadGameAction = KStandardGameAction::load(
this, qOverload<>(&MainWindow::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);
m_getMoreGamesAction->setToolTip(i18nc("@action", "Get More Games..."));
......
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