# HG changeset patch # User Sam Izzo # Date 1346208078 -36000 # Node ID a1b4108da48c5e664e40bd2b3834d1cf396ae2b5 # Parent 046ad99a42302d39c1b0cede5d6783f7d6713ed1 * Prefix working folder path on MacOS diff -r 046ad99a4230 -r a1b4108da48c src/mainwindow.cpp --- a/src/mainwindow.cpp Wed Aug 29 12:40:54 2012 +1000 +++ b/src/mainwindow.cpp Wed Aug 29 12:41:18 2012 +1000 @@ -877,7 +877,8 @@ // FIXME: This shouldn't be using a hardcoded path. QProcess::execute("c:/windows/explorer.exe", args); #else if defined(Q_OS_MAC) - args << file; + file = m_workFolderPath + "/" + file; + args << "--reveal" << file; QProcess::execute("/usr/bin/open", args); #endif }