mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-05 05:37:29 +02:00
* Fixed missing stats for really short songs.
This commit is contained in:
@@ -24,6 +24,7 @@ FileTransferConnection::FileTransferConnection( Servent* s, ControlConnection* c
|
|||||||
, m_badded( 0 )
|
, m_badded( 0 )
|
||||||
, m_bsent( 0 )
|
, m_bsent( 0 )
|
||||||
, m_allok( false )
|
, m_allok( false )
|
||||||
|
, m_transferRate( 0 )
|
||||||
{
|
{
|
||||||
qDebug() << Q_FUNC_INFO;
|
qDebug() << Q_FUNC_INFO;
|
||||||
|
|
||||||
@@ -54,6 +55,7 @@ FileTransferConnection::FileTransferConnection( Servent* s, ControlConnection* c
|
|||||||
, m_badded( 0 )
|
, m_badded( 0 )
|
||||||
, m_bsent( 0 )
|
, m_bsent( 0 )
|
||||||
, m_allok( false )
|
, m_allok( false )
|
||||||
|
, m_transferRate( 0 )
|
||||||
{
|
{
|
||||||
APP->servent().registerFileTransferConnection( this );
|
APP->servent().registerFileTransferConnection( this );
|
||||||
// auto delete when connection closes:
|
// auto delete when connection closes:
|
||||||
@@ -151,6 +153,8 @@ FileTransferConnection::startSending( const QVariantMap& f )
|
|||||||
|
|
||||||
m_readdev = QSharedPointer<QIODevice>( io );
|
m_readdev = QSharedPointer<QIODevice>( io );
|
||||||
sendSome();
|
sendSome();
|
||||||
|
|
||||||
|
emit updated();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user