qt 4.8 webkit doesn't use working dir to resolve local file urls anymore, fixes #101

This commit is contained in:
John Bintz 2012-01-03 10:47:18 -05:00
parent df83a61cb5
commit 7587381e1e
2 changed files with 2 additions and 2 deletions

View File

@ -70,7 +70,7 @@ void Runner::loadSpec()
outputFiles.enqueue(outputFile);
}
page.mainFrame()->load(runnerFiles.dequeue());
page.mainFrame()->load(QUrl::fromLocalFile(runnerFiles.dequeue()));
ticker.start();
}

View File

@ -62,7 +62,7 @@ module Jasmine
command << "-r #{file}"
end
command += targets
command += targets.flatten.collect { |target| File.expand_path(target) }
command.compact.join(' ')
end