1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-09 07:36:48 +02:00

Delete external resolvers when removing them from resolvers list

This commit is contained in:
Leo Franchi
2011-12-25 19:56:09 -06:00
parent 038daffab7
commit 4c8fa37d0e
3 changed files with 3 additions and 3 deletions

View File

@@ -169,7 +169,7 @@ Pipeline::removeScriptResolver( const QString& scriptPath )
if ( r ) if ( r )
{ {
r->stop(); r->stop();
connect( r, SIGNAL( stopped() ), r, SLOT( deleteLater() ) ); r->deleteLater();
} }
} }

View File

@@ -300,7 +300,7 @@ ScriptResolver::cmdExited( int code, QProcess::ExitStatus status )
if ( m_stopped ) if ( m_stopped )
{ {
tLog() << "*** Script resolver stopped "; tLog() << "*** Script resolver stopped ";
emit stopped(); emit terminated();
return; return;
} }

View File

@@ -55,7 +55,7 @@ public:
virtual bool running() const; virtual bool running() const;
signals: signals:
void stopped(); void terminated();
public slots: public slots:
virtual void stop(); virtual void stop();