Commit db95eee5 authored by Kai Koehne's avatar Kai Koehne

Fix compilation

1ac9f554 broke compilation on Linux
parent 1ac9f554
......@@ -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");
......
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment