1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-13 09:34:53 +02:00

* Possible fix for QtScriptResolver crash.

This commit is contained in:
Christian Muehlhaeuser
2011-03-16 18:07:09 +01:00
parent fb145a2883
commit 2b95494cb4

View File

@@ -16,7 +16,6 @@ QtScriptResolver::QtScriptResolver( const QString& scriptPath )
{
qDebug() << Q_FUNC_INFO << scriptPath;
m_engine->moveToThread( m_thread );
m_thread->start();
QFile scriptFile( scriptPath );
@@ -37,6 +36,7 @@ QtScriptResolver::QtScriptResolver( const QString& scriptPath )
<< "timeout" << m_timeout << endl
<< "preference" << m_preference;
m_engine->moveToThread( m_thread );
m_ready = true;
Tomahawk::Pipeline::instance()->addResolver( this );
}