qt: Make default button actually work

This commit is contained in:
Cacodemon345
2022-06-01 16:31:06 +06:00
parent 3b74aad9d6
commit 0636e1cbbc
2 changed files with 9 additions and 0 deletions

View File

@@ -203,3 +203,10 @@ void ProgSettings::on_horizontalSlider_valueChanged(int value)
mouseSensitivity = (double)value / 100.;
}
void ProgSettings::on_pushButton_2_clicked()
{
mouseSensitivity = 1.0;
ui->horizontalSlider->setValue(100);
}

View File

@@ -59,6 +59,8 @@ private slots:
void on_horizontalSlider_valueChanged(int value);
void on_pushButton_2_clicked();
private:
Ui::ProgSettings *ui;