chore: improve param name

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
Sefa Eyeoglu
2024-01-03 18:14:47 +01:00
parent a8220cd296
commit e5b608447a
2 changed files with 8 additions and 8 deletions

View File

@ -40,18 +40,18 @@
#include "FileSystem.h"
namespace DesktopServices {
bool openPath(const QFileInfo& path, bool ensureExists)
bool openPath(const QFileInfo& path, bool ensureFolderPathExists)
{
qDebug() << "Opening path" << path;
if (ensureExists) {
if (ensureFolderPathExists) {
FS::ensureFolderPathExists(path);
}
return openUrl(QUrl::fromLocalFile(QFileInfo(path).absolutePath()));
}
bool openPath(const QString& path, bool ensureExists)
bool openPath(const QString& path, bool ensureFolderPathExists)
{
return openPath(QFileInfo(path), ensureExists);
return openPath(QFileInfo(path), ensureFolderPathExists);
}
bool run(const QString& application, const QStringList& args, const QString& workingDirectory, qint64* pid)