chore: improve param name
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
parent
a8220cd296
commit
e5b608447a
2 changed files with 8 additions and 8 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue