Fix broken connection from "New" action to newGame slot

FIXED-IN: 2.1.20121 (release 20.12.1 in January)
BUG: 430362
parent 5c7c3700
......@@ -22,6 +22,8 @@
#include <KXmlGuiWindow>
#include <QLabel>
#include <QRandomGenerator>
#include <cstdlib>
class KToggleAction;
class KGameClock;
......@@ -35,7 +37,7 @@ class MainWindow : public KXmlGuiWindow
private Q_SLOTS:
void configureSettings();
void loadSettings();
void newGame( int gameId );
void newGame( int gameId = QRandomGenerator::global()->bounded(RAND_MAX));
void newNumGame();
void pauseGame( bool isPaused );
void restartGame();
......
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