Commit 79d36da0 authored by Andrius Štikonas's avatar Andrius Štikonas

Fix mixed up button connections.

parent 4b2600ed
......@@ -752,9 +752,9 @@ void KGrGame::quickStartDialog()
leftIconRightButtonsLayout->addLayout(leftButtonLayout);
connect(buttonBox, &QDialogButtonBox::accepted, this, &KGrGame::quickStartPlay);
connect(buttonBox, &QDialogButtonBox::rejected, this, &KGrGame::quickStartNewGame);
connect(newGameButton, &QPushButton::clicked, this, &KGrGame::quickStartUseMenu);
connect(useMenuButton, &QPushButton::clicked, this, &KGrGame::quickStartQuit);
connect(buttonBox, &QDialogButtonBox::rejected, this, &KGrGame::quickStartQuit);
connect(newGameButton, &QPushButton::clicked, this, &KGrGame::quickStartNewGame);
connect(useMenuButton, &QPushButton::clicked, this, &KGrGame::quickStartUseMenu);
qs->show();
}
......
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