Mercurial > hg > easyhg
changeset 637:a1b4108da48c
* Prefix working folder path on MacOS
author | Sam Izzo <sam@humbug.net> |
---|---|
date | Wed, 29 Aug 2012 12:41:18 +1000 |
parents | 046ad99a4230 |
children | 436a97afe732 |
files | src/mainwindow.cpp |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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 }