# HG changeset patch # User Chris Cannam # Date 1350642785 -3600 # Node ID 436a97afe732bce845fca0681bd2a725c028e7bc # Parent a1b4108da48c5e664e40bd2b3834d1cf396ae2b5 Fix preprocessor syntax diff -r a1b4108da48c -r 436a97afe732 src/mainwindow.cpp --- a/src/mainwindow.cpp Wed Aug 29 12:41:18 2012 +1000 +++ b/src/mainwindow.cpp Fri Oct 19 11:33:05 2012 +0100 @@ -862,7 +862,7 @@ foreach (QString file, files) { QStringList args; - #if defined Q_OS_WIN32 +#if defined Q_OS_WIN32 // Although the Win32 API is quite happy to have // forward slashes as directory separators, Windows // Explorer is not @@ -876,11 +876,11 @@ args << "/select," << file; // FIXME: This shouldn't be using a hardcoded path. QProcess::execute("c:/windows/explorer.exe", args); - #else if defined(Q_OS_MAC) +#elif defined(Q_OS_MAC) file = m_workFolderPath + "/" + file; args << "--reveal" << file; QProcess::execute("/usr/bin/open", args); - #endif +#endif } }