1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-04-14 04:51:53 +02:00

* Fixed TranserView crash.

This commit is contained in:
Christian Muehlhaeuser 2010-11-28 17:06:13 +01:00
parent 0d42e71777
commit 2f9bf21cc2

View File

@ -55,7 +55,7 @@ void
TransferView::onTransferUpdate()
{
FileTransferConnection* ftc = (FileTransferConnection*)sender();
if ( ftc->track().isNull() )
if ( ftc->track().isNull() || ftc->source().isNull() )
return;
QTreeWidgetItem* ti = 0;