Make it possible to set the external file browser on unix.

xdg-open is not available everywhere and fails when no DE is running.

Reviewed-By: Oswald Buddenhagen
This commit is contained in:
Daniel Molkentin
2010-01-04 15:19:29 +01:00
parent 4416dda243
commit 77761b37c3
8 changed files with 278 additions and 13 deletions

View File

@@ -62,10 +62,15 @@ private slots:
void resetExternalEditor();
void showHelpForExternalEditor();
#ifdef Q_OS_UNIX
# ifndef Q_OS_MAC
void showHelpForFileBrowser();
void resetFileBrowser();
# endif
void resetTerminal();
#endif
private:
void variableHelpDialogCreator(const QString& helpText);
Ui::GeneralSettings *m_page;
QString m_searchKeywords;
QPointer<QWidget> m_dialog;