1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-04-22 08:52:12 +02:00

Don't confuse QFileInfo

This commit is contained in:
Leo Franchi 2012-07-05 16:48:21 -04:00
parent 4ca5cf456a
commit 5960da1722

View File

@ -461,8 +461,9 @@ ScriptResolver::startProcess()
if ( interpreter.isEmpty() )
{
#ifndef Q_OS_WIN
const QFileInfo info( runPath );
const QFileInfo info( filePath() );
m_proc.setWorkingDirectory( info.absolutePath() );
tLog() << "Setting working dir:" << info.absolutePath();
#endif
m_proc.start( runPath );
}