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:
@@ -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();
|
||||
|
||||
|
Reference in New Issue
Block a user