Commit b11bf390 authored by Yuri Chornoivan's avatar Yuri Chornoivan
Browse files

Use meaningful icon instead of missing in the Breeze theme

parent c7a964e8
......@@ -419,7 +419,7 @@ void MainWindow::setupActions()
m_hintAction = KStandardGameAction::hint(this, &MainWindow::hint, actionCollection());
// View menu
m_moveNumbersAction = new KToggleAction(QIcon::fromTheme( QStringLiteral( "lastmoves") ), i18nc("@action:inmenu View", "Show Move &Numbers" ), this);
m_moveNumbersAction = new KToggleAction(QIcon::fromTheme( QStringLiteral( "pin") ), i18nc("@action:inmenu View", "Show Move &Numbers" ), this);
actionCollection()->setDefaultShortcut(m_moveNumbersAction, Qt::Key_N);
m_moveNumbersAction->setChecked(Preferences::showMoveNumbers());
connect(m_moveNumbersAction, &KToggleAction::toggled, m_gameScene, &GameScene::showMoveNumbers);
......
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