Fix the size of the now-playing widget to make it line up exactly with the top of the player controls

This commit is contained in:
David Sansome 2011-03-07 20:21:34 +00:00
parent 6a64b8f8f3
commit 7a60b52704
1 changed files with 1 additions and 2 deletions

View File

@ -630,8 +630,7 @@ MainWindow::MainWindow(
// Now playing widget
ui_->now_playing->set_ideal_height(ui_->status_bar->sizeHint().height() +
ui_->player_controls->sizeHint().height() +
1); // Don't question the 1
ui_->player_controls->sizeHint().height());
connect(playlists_, SIGNAL(CurrentSongChanged(Song)), ui_->now_playing, SLOT(NowPlaying(Song)));
connect(player_, SIGNAL(Stopped()), ui_->now_playing, SLOT(Stopped()));
connect(ui_->now_playing, SIGNAL(ShowAboveStatusBarChanged(bool)),