Fix code style and errors

This commit is contained in:
Jonas Kvinge
2019-04-08 18:46:11 +02:00
parent 0ce5b50950
commit 9be161d165
58 changed files with 146 additions and 146 deletions

View File

@@ -217,12 +217,7 @@ void PlayingWidget::SetMode(int mode) {
mode_ = Mode(mode);
if (mode_ == SmallSongDetails) {
fit_cover_width_action_->setEnabled(false);
}
else {
fit_cover_width_action_->setEnabled(true);
}
fit_cover_width_action_->setEnabled(mode_ != SmallSongDetails);
UpdateHeight();
UpdateDetailsText();