Skip to content

Commit

Permalink
Update MashDesigner.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
matty0ung authored Oct 25, 2023
1 parent e203fb0 commit babc011
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/MashDesigner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ MashDesigner::MashDesigner(QWidget * parent) : QDialog {parent},
//
// Here and below, we connect to valueChanged rather than sliderMoved as, otherwise, we don't receive any signal if
// the keyboard is used to move the slider.
connect(horizontalSlider_amount, &QAbstractSlider::valueChanged, this, &MashDesigner::updateTempSlider); // Update amount slider when we move temp slider.
connect(horizontalSlider_amount, &QAbstractSlider::valueChanged, this, &MashDesigner::updateTempSlider);
// Update amount slider when we move temp slider.
connect(horizontalSlider_temp, &QAbstractSlider::valueChanged, this, &MashDesigner::updateAmtSlider);
// Update tun fullness bar when either slider moves.
connect(horizontalSlider_amount, &QAbstractSlider::valueChanged, this, &MashDesigner::updateFullness);
Expand Down

0 comments on commit babc011

Please sign in to comment.