Utils: Use FilePath in FileUtils::showInGraphicalShell

Change-Id: I393f33a6a31fc6cee3c0a4b16c474247673af312
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
hjk
2021-08-12 12:05:37 +02:00
parent 83ec50a374
commit ba745a45aa
7 changed files with 10 additions and 11 deletions

View File

@@ -42,7 +42,7 @@ enum class HandleIncludeGuards { No, Yes };
struct CORE_EXPORT FileUtils
{
// Helpers for common directory browser options.
static void showInGraphicalShell(QWidget *parent, const QString &path);
static void showInGraphicalShell(QWidget *parent, const Utils::FilePath &path);
static void openTerminal(const Utils::FilePath &path);
static void openTerminal(const Utils::FilePath &path, const Utils::Environment &env);
static QString msgFindInDirectory();