changeset 638:436a97afe732

Fix preprocessor syntax
author Chris Cannam
date Fri, 19 Oct 2012 11:33:05 +0100
parents a1b4108da48c
children 31f5168fb5d9
files src/mainwindow.cpp
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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
     }
 }