Loading src/gui/MainWindow.cpp +1 −4 Original line number Diff line number Diff line Loading @@ -87,10 +87,7 @@ void MainWindow::startGame() { stats.setNbThread(1); } if(ui->regexCheckBox->isChecked()) { stats.setRegex(ui->RegexlineEdit->text().toStdString()); } int other_perc = stoi(ui->OtherThreshold->text().toStdString()); perc_other = other_perc ? other_perc : 2; Loading src/gui/MainWindow.ui +7 −7 Original line number Diff line number Diff line Loading @@ -54,13 +54,6 @@ </property> </widget> </item> <item row="2" column="0"> <widget class="QCheckBox" name="regexCheckBox"> <property name="text"> <string>Regular expression</string> </property> </widget> </item> <item row="0" column="1"> <widget class="QRadioButton" name="classicButton"> <property name="text"> Loading Loading @@ -88,6 +81,13 @@ </property> </widget> </item> <item row="2" column="0"> <widget class="QLabel" name="label_10"> <property name="text"> <string>Regular expression</string> </property> </widget> </item> </layout> </widget> </widget> Loading Loading
src/gui/MainWindow.cpp +1 −4 Original line number Diff line number Diff line Loading @@ -87,10 +87,7 @@ void MainWindow::startGame() { stats.setNbThread(1); } if(ui->regexCheckBox->isChecked()) { stats.setRegex(ui->RegexlineEdit->text().toStdString()); } int other_perc = stoi(ui->OtherThreshold->text().toStdString()); perc_other = other_perc ? other_perc : 2; Loading
src/gui/MainWindow.ui +7 −7 Original line number Diff line number Diff line Loading @@ -54,13 +54,6 @@ </property> </widget> </item> <item row="2" column="0"> <widget class="QCheckBox" name="regexCheckBox"> <property name="text"> <string>Regular expression</string> </property> </widget> </item> <item row="0" column="1"> <widget class="QRadioButton" name="classicButton"> <property name="text"> Loading Loading @@ -88,6 +81,13 @@ </property> </widget> </item> <item row="2" column="0"> <widget class="QLabel" name="label_10"> <property name="text"> <string>Regular expression</string> </property> </widget> </item> </layout> </widget> </widget> Loading