Permalink
Browse files

* Properly fix time display in stable.

  • Loading branch information...
1 parent aec7a0b commit 9a9a7148af1ab957e7cd663ae5ee0f0d4668f7b7 @muesli muesli committed Apr 5, 2012
Showing with 2 additions and 0 deletions.
  1. +1 −0 src/audiocontrols.cpp
  2. +1 −0 src/audiocontrols.h
View
@@ -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 );
View
@@ -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.