mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-16 02:54:33 +02:00
* Fixed crash, hopefully.
This commit is contained in:
@@ -609,7 +609,7 @@ Servent::remoteIODeviceFactory( const result_ptr& result )
|
|||||||
const QString sourceName = parts.at( 0 );
|
const QString sourceName = parts.at( 0 );
|
||||||
const QString fileId = parts.at( 1 );
|
const QString fileId = parts.at( 1 );
|
||||||
source_ptr s = SourceList::instance()->get( sourceName );
|
source_ptr s = SourceList::instance()->get( sourceName );
|
||||||
if ( s.isNull() )
|
if ( s.isNull() || !s->controlConnection() )
|
||||||
return sp;
|
return sp;
|
||||||
|
|
||||||
ControlConnection* cc = s->controlConnection();
|
ControlConnection* cc = s->controlConnection();
|
||||||
|
Reference in New Issue
Block a user