1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-07-31 19:30:21 +02:00

* Fixed trying to access invalid results in FileTransferConnection.

This commit is contained in:
Christian Muehlhaeuser
2010-11-29 11:27:55 +01:00
parent 82cf51f058
commit 7ebfe1c7c7

View File

@@ -142,6 +142,13 @@ FileTransferConnection::setup()
void
FileTransferConnection::startSending( const Tomahawk::result_ptr& result )
{
if ( result.isNull() )
{
qDebug() << "Can't handle invalid result!";
shutdown();
return;
}
m_result = result;
qDebug() << "Starting to transmit" << m_result->url();