Loading include/MainWindow.h +2 −2 Original line number Diff line number Diff line Loading @@ -48,8 +48,8 @@ private: Ui::MainWindow *ui; Statsgen stats; QMessageBox waitBox; QVBoxLayout * layoutCharset; QVBoxLayout * layoutLength; QVBoxLayout * layoutCharset = nullptr; QVBoxLayout * layoutLength = nullptr; int firstTime=1; void initGraphicalStats(QBarSeries * barLength, QPieSeries * pieCharset, double & percentageTotal, double & percentageSecurity); }; Loading src/gui/MainWindow.cpp +2 −0 Original line number Diff line number Diff line Loading @@ -169,6 +169,8 @@ void MainWindow::startGame() { ui->maxAdvancedCheckBox->setDisabled(true); ui->maxSimpleCheckBox->setDisabled(true); delete layoutLength; delete layoutCharset; WorkerThread *workerThread = new WorkerThread(stats); connect(workerThread, SIGNAL(resultReady()), this, SLOT(handleResults())); Loading Loading
include/MainWindow.h +2 −2 Original line number Diff line number Diff line Loading @@ -48,8 +48,8 @@ private: Ui::MainWindow *ui; Statsgen stats; QMessageBox waitBox; QVBoxLayout * layoutCharset; QVBoxLayout * layoutLength; QVBoxLayout * layoutCharset = nullptr; QVBoxLayout * layoutLength = nullptr; int firstTime=1; void initGraphicalStats(QBarSeries * barLength, QPieSeries * pieCharset, double & percentageTotal, double & percentageSecurity); }; Loading
src/gui/MainWindow.cpp +2 −0 Original line number Diff line number Diff line Loading @@ -169,6 +169,8 @@ void MainWindow::startGame() { ui->maxAdvancedCheckBox->setDisabled(true); ui->maxSimpleCheckBox->setDisabled(true); delete layoutLength; delete layoutCharset; WorkerThread *workerThread = new WorkerThread(stats); connect(workerThread, SIGNAL(resultReady()), this, SLOT(handleResults())); Loading