Skip to content

Commit

Permalink
* Properly fix time display in stable.
Browse files Browse the repository at this point in the history
  • Loading branch information
muesli committed Apr 5, 2012
1 parent aec7a0b commit 9a9a714
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/audiocontrols.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,7 @@ AudioControls::onPlaybackLoading( const Tomahawk::result_ptr& result )
ui->timeLabel->setText( TomahawkUtils::timeToString( 0 ) );
ui->timeLeftLabel->setFixedWidth( ui->timeLeftLabel->fontMetrics().width( QString( duration.length() + 1, QChar( '0' ) ) ) );
ui->timeLeftLabel->setText( "-" + duration );
m_lastTextSecondShown = 0;

ui->stackedLayout->setCurrentWidget( ui->pauseButton );

Expand Down
1 change: 1 addition & 0 deletions src/audiocontrols.h
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ private slots:
qint64 m_seekMsecs;
qint64 m_lastSliderCheck;
bool m_noTimeChange;
qint64 m_lastTextSecondShown;
};

#endif // AUDIOCONTROLS_H

0 comments on commit 9a9a714

Please sign in to comment.