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:
parent
4ca5cf456a
commit
5960da1722
@ -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 );
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user