1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-04 13:17:34 +02:00

* Fixed missing stats for really short songs.

This commit is contained in:
Christian Muehlhaeuser
2010-11-28 12:36:07 +01:00
parent 7364162de3
commit 0d42e71777

View File

@@ -24,6 +24,7 @@ FileTransferConnection::FileTransferConnection( Servent* s, ControlConnection* c
, m_badded( 0 )
, m_bsent( 0 )
, m_allok( false )
, m_transferRate( 0 )
{
qDebug() << Q_FUNC_INFO;
@@ -54,6 +55,7 @@ FileTransferConnection::FileTransferConnection( Servent* s, ControlConnection* c
, m_badded( 0 )
, m_bsent( 0 )
, m_allok( false )
, m_transferRate( 0 )
{
APP->servent().registerFileTransferConnection( this );
// auto delete when connection closes:
@@ -151,6 +153,8 @@ FileTransferConnection::startSending( const QVariantMap& f )
m_readdev = QSharedPointer<QIODevice>( io );
sendSome();
emit updated();
}