mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-13 17:43:59 +02:00
* Properly fix time display in stable.
This commit is contained in:
@@ -237,6 +237,7 @@ AudioControls::onPlaybackLoading( const Tomahawk::result_ptr& result )
|
|||||||
ui->timeLabel->setText( TomahawkUtils::timeToString( 0 ) );
|
ui->timeLabel->setText( TomahawkUtils::timeToString( 0 ) );
|
||||||
ui->timeLeftLabel->setFixedWidth( ui->timeLeftLabel->fontMetrics().width( QString( duration.length() + 1, QChar( '0' ) ) ) );
|
ui->timeLeftLabel->setFixedWidth( ui->timeLeftLabel->fontMetrics().width( QString( duration.length() + 1, QChar( '0' ) ) ) );
|
||||||
ui->timeLeftLabel->setText( "-" + duration );
|
ui->timeLeftLabel->setText( "-" + duration );
|
||||||
|
m_lastTextSecondShown = 0;
|
||||||
|
|
||||||
ui->stackedLayout->setCurrentWidget( ui->pauseButton );
|
ui->stackedLayout->setCurrentWidget( ui->pauseButton );
|
||||||
|
|
||||||
|
@@ -100,6 +100,7 @@ private:
|
|||||||
qint64 m_seekMsecs;
|
qint64 m_seekMsecs;
|
||||||
qint64 m_lastSliderCheck;
|
qint64 m_lastSliderCheck;
|
||||||
bool m_noTimeChange;
|
bool m_noTimeChange;
|
||||||
|
qint64 m_lastTextSecondShown;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // AUDIOCONTROLS_H
|
#endif // AUDIOCONTROLS_H
|
||||||
|
Reference in New Issue
Block a user