Fix compilation on MacOS.

Change-Id: I4960dfed9bb77c02864c59d1c5a7a2238ca7b568
Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
Erik Verbruggen
2012-11-21 09:19:50 +01:00
committed by hjk
parent 1cba4a5af3
commit 148867665b

View File

@@ -110,7 +110,7 @@ void FileUtils::showInGraphicalShell(QWidget *parent, const QString &pathIn)
scriptArgs.clear();
scriptArgs << QLatin1String("-e")
<< QLatin1String("tell application \"Finder\" to activate");
QProcess::execute("/usr/bin/osascript", scriptArgs);
QProcess::execute(QLatin1String("/usr/bin/osascript"), scriptArgs);
#else
// we cannot select a file here, because no file browser really supports it...
const QFileInfo fileInfo(pathIn);