forked from qt-creator/qt-creator
fixes to last commit
This commit is contained in:
@@ -1774,7 +1774,7 @@ void ProjectExplorerPlugin::showInGraphicalShell()
|
|||||||
QProcess::execute("/usr/bin/osascript", QStringList()
|
QProcess::execute("/usr/bin/osascript", QStringList()
|
||||||
<< "-e"
|
<< "-e"
|
||||||
<< "tell application \"Finder\" to activate");
|
<< "tell application \"Finder\" to activate");
|
||||||
#elif
|
#else
|
||||||
// we cannot select a file here, because no file browser really supports it...
|
// we cannot select a file here, because no file browser really supports it...
|
||||||
QFileInfo fileInfo(m_currentNode->path());
|
QFileInfo fileInfo(m_currentNode->path());
|
||||||
QString xdgopen = Environment::systemEnvironment().searchInPath("xdg-open");
|
QString xdgopen = Environment::systemEnvironment().searchInPath("xdg-open");
|
||||||
|
@@ -184,9 +184,7 @@ private slots:
|
|||||||
void addNewFile();
|
void addNewFile();
|
||||||
void addExistingFiles();
|
void addExistingFiles();
|
||||||
void openFile();
|
void openFile();
|
||||||
#if defined(Q_OS_MAC) || defined(Q_OS_WIN)
|
|
||||||
void showInGraphicalShell();
|
void showInGraphicalShell();
|
||||||
#endif
|
|
||||||
void removeFile();
|
void removeFile();
|
||||||
void renameFile();
|
void renameFile();
|
||||||
|
|
||||||
@@ -257,9 +255,7 @@ private:
|
|||||||
QAction *m_addNewFileAction;
|
QAction *m_addNewFileAction;
|
||||||
QAction *m_addExistingFilesAction;
|
QAction *m_addExistingFilesAction;
|
||||||
QAction *m_openFileAction;
|
QAction *m_openFileAction;
|
||||||
#if defined(Q_OS_MAC) || defined(Q_OS_WIN)
|
|
||||||
QAction *m_showInGraphicalShell;
|
QAction *m_showInGraphicalShell;
|
||||||
#endif
|
|
||||||
QAction *m_removeFileAction;
|
QAction *m_removeFileAction;
|
||||||
QAction *m_renameFileAction;
|
QAction *m_renameFileAction;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user