Fixed AeroColorMixer

This commit is contained in:
wackyideas 2021-08-13 13:22:23 +02:00
parent 667b989f7d
commit 0f883e1bf1
5 changed files with 1 additions and 6 deletions

View file

@ -115,7 +115,6 @@ void MainWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id,
case 2: _t->on_pushButton_3_clicked(); break; case 2: _t->on_pushButton_3_clicked(); break;
case 3: _t->on_saturation_Slider_valueChanged((*reinterpret_cast< int(*)>(_a[1]))); break; case 3: _t->on_saturation_Slider_valueChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
case 4: _t->on_Lightness_Slider_valueChanged((*reinterpret_cast< int(*)>(_a[1]))); break; case 4: _t->on_Lightness_Slider_valueChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
case 5: _t->on_horizontalSlider_valueChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
case 6: _t->on_colorWindow_Clicked(); break; case 6: _t->on_colorWindow_Clicked(); break;
case 7: _t->on_apply_Button_clicked(); break; case 7: _t->on_apply_Button_clicked(); break;
case 8: _t->on_cancel_Button_clicked(); break; case 8: _t->on_cancel_Button_clicked(); break;

View file

@ -236,7 +236,7 @@ void MainWindow::on_Lightness_Slider_valueChanged(int value)
changeCustomColor(); changeCustomColor();
} }
void MainWindow::on_horizontalSlider_valueChanged(int value) void MainWindow::on_alpha_slider_valueChanged(int value)
{ {
ui->alpha_label->setText(QString::number(ui->alpha_slider->value())); ui->alpha_label->setText(QString::number(ui->alpha_slider->value()));
changeCustomColor(); changeCustomColor();
@ -439,10 +439,6 @@ void MainWindow::on_cancel_Button_clicked()
this->close(); this->close();
} }
void MainWindow::on_alpha_slider_valueChanged(int value)
{
ui->alpha_label->setText(QString::number(ui->alpha_slider->value()));
}
void MainWindow::on_saveChanges_Button_clicked() void MainWindow::on_saveChanges_Button_clicked()
{ {