forked from qt-creator/qt-creator
Allow to set environment for "Open Terminal"
Change-Id: If6e82ef8a7bbbaa947b41e0f6746d2b2aa770c20 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -31,6 +31,8 @@ QT_BEGIN_NAMESPACE
|
||||
class QWidget;
|
||||
QT_END_NAMESPACE
|
||||
|
||||
namespace Utils { class Environment; }
|
||||
|
||||
namespace Core {
|
||||
|
||||
struct CORE_EXPORT FileUtils
|
||||
@@ -38,6 +40,7 @@ struct CORE_EXPORT FileUtils
|
||||
// Helpers for common directory browser options.
|
||||
static void showInGraphicalShell(QWidget *parent, const QString &path);
|
||||
static void openTerminal(const QString &path);
|
||||
static void openTerminal(const QString &path, const Utils::Environment &env);
|
||||
static QString msgFindInDirectory();
|
||||
// Platform-dependent action descriptions
|
||||
static QString msgGraphicalShellAction();
|
||||
|
||||
Reference in New Issue
Block a user