forked from qt-creator/qt-creator
Fix compilation on MacOS.
Change-Id: I4960dfed9bb77c02864c59d1c5a7a2238ca7b568 Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user