diff options
author | Kai Koehne <kai.koehne@nokia.com> | 2009-09-03 12:00:00 +0200 |
---|---|---|
committer | Kai Koehne <kai.koehne@nokia.com> | 2009-09-03 12:00:00 +0200 |
commit | db95eee51d279da0070bad113e92e19badf34fd2 (patch) | |
tree | 2d78a94072a7cfecb7f11e1937f1be0352e963be | |
parent | 1ac9f55429e7a851d72395e5e32467f24e90ad26 (diff) |
Fix compilation
1ac9f55429e7a851d72395e5e32467f24e90ad26 broke compilation on Linux
-rw-r--r-- | src/plugins/projectexplorer/projectexplorer.cpp | 2 | ||||
-rw-r--r-- | src/plugins/projectexplorer/projectexplorer.h | 4 |
2 files changed, 1 insertions, 5 deletions
diff --git a/src/plugins/projectexplorer/projectexplorer.cpp b/src/plugins/projectexplorer/projectexplorer.cpp index d618072420..c99c896d74 100644 --- a/src/plugins/projectexplorer/projectexplorer.cpp +++ b/src/plugins/projectexplorer/projectexplorer.cpp @@ -1772,7 +1772,7 @@ void ProjectExplorerPlugin::showInGraphicalShell() QProcess::execute("/usr/bin/osascript", QStringList() << "-e" << "tell application \"Finder\" to activate"); -#elif +#else // we cannot select a file here, because no file browser really supports it... QFileInfo fileInfo(m_currentNode->path()); QString xdgopen = Environment::systemEnvironment().searchInPath("xdg-open"); diff --git a/src/plugins/projectexplorer/projectexplorer.h b/src/plugins/projectexplorer/projectexplorer.h index c651e2f953..636b47b097 100644 --- a/src/plugins/projectexplorer/projectexplorer.h +++ b/src/plugins/projectexplorer/projectexplorer.h @@ -184,9 +184,7 @@ private slots: void addNewFile(); void addExistingFiles(); void openFile(); -#if defined(Q_OS_MAC) || defined(Q_OS_WIN) void showInGraphicalShell(); -#endif void removeFile(); void renameFile(); @@ -257,9 +255,7 @@ private: QAction *m_addNewFileAction; QAction *m_addExistingFilesAction; QAction *m_openFileAction; -#if defined(Q_OS_MAC) || defined(Q_OS_WIN) QAction *m_showInGraphicalShell; -#endif QAction *m_removeFileAction; QAction *m_renameFileAction; |