Commit 5a9a8bbe authored by Mathieu Valois's avatar Mathieu Valois
Browse files

Remove useless checkbox

parent 6241ad09
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -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;
+7 −7
Original line number Diff line number Diff line
@@ -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">
@@ -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>