Commit 99d26869 authored by Jan Möbius's avatar Jan Möbius

Fixed bug with scriptdir not set correctly on command line open

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@9392 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 7d368337
......@@ -144,7 +144,7 @@ void Core::slotExecuteAfterStartup() {
// Execute all files ending with ofs
for ( int i = 0 ; i < scriptFiles.size(); ++i )
if ( scriptFiles[i].endsWith("ofs") )
emit executeFileScript(scriptDir.path() + QDir::separator() + scriptFiles[i]);
emit executeFileScript(scriptDir.path() + "/" + scriptFiles[i]);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment