Commit 37ec25b0 authored by Shlomi Fish's avatar Shlomi Fish
Browse files

Readability improvement per coates' advice.

parent 7b066470
......@@ -407,9 +407,8 @@ void MainWindow::restart()
void MainWindow::startRandom()
const auto seed = QRandomGenerator::global()->generate();
const int signed_seed = (int)(seed & (~(((quint32)1) << 31)));
const int gameNumber = int(QRandomGenerator::global()->bounded(quint32(1), quint32(INT_MAX)));
void MainWindow::startNew(int gameNumber)
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