Skip to content

Commit

Permalink
Enable zoom button on OS X.
Browse files Browse the repository at this point in the history
  • Loading branch information
ddennedy committed Aug 12, 2014
1 parent 1c318a9 commit fb41127
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -196,11 +196,7 @@ Player::Player(QWidget *parent)
m_zoomButton->setPopupMode(QToolButton::MenuButtonPopup);
m_zoomButton->setCheckable(true);
m_zoomButton->setToolTip(tr("Toggle zoom"));
#ifndef Q_OS_MAC
toolbar->addWidget(m_zoomButton);
#else
zoomFit();
#endif

spacer = new QWidget(this);
spacer->setSizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::Preferred);
Expand Down

0 comments on commit fb41127

Please sign in to comment.