Formatting
This commit is contained in:
@@ -384,11 +384,10 @@ bool Equalizer::Params::operator==(const Equalizer::Params &other) const {
|
||||
if (gain[i] != other.gain[i]) return false;
|
||||
}
|
||||
return true;
|
||||
|
||||
}
|
||||
|
||||
bool Equalizer::Params::operator!=(const Equalizer::Params &other) const {
|
||||
return ! (*this == other);
|
||||
return !(*this == other);
|
||||
}
|
||||
|
||||
QDataStream &operator<<(QDataStream &s, const Equalizer::Params &p) {
|
||||
|
||||
@@ -56,7 +56,7 @@ class Equalizer : public QDialog {
|
||||
bool operator!=(const Params &other) const;
|
||||
|
||||
int preamp;
|
||||
int gain[kBands]{};
|
||||
int gain[kBands] {};
|
||||
};
|
||||
|
||||
bool is_equalizer_enabled() const;
|
||||
@@ -100,7 +100,7 @@ class Equalizer : public QDialog {
|
||||
QString last_preset_;
|
||||
|
||||
EqualizerSlider *preamp_;
|
||||
EqualizerSlider *gain_[kBands]{};
|
||||
EqualizerSlider *gain_[kBands] {};
|
||||
|
||||
QMap<QString, Params> presets_;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user