Replace emit with Q_EMIT
This commit is contained in:
@@ -57,7 +57,7 @@ void EqualizerSlider::OnValueChanged(const int value) {
|
||||
float gain = (static_cast<int>(value) < 0) ? static_cast<float>(value) * static_cast<float>(0.24) : static_cast<float>(value) * static_cast<float>(0.12);
|
||||
|
||||
ui_->gain->setText(tr("%1 dB").arg(gain)); // Gain [dB]
|
||||
emit ValueChanged(value);
|
||||
Q_EMIT ValueChanged(value);
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user