From 98e17998fe4dd541143de3e1bbc4b267aadb383b Mon Sep 17 00:00:00 2001 From: Tim Flynn Date: Mon, 16 Jan 2017 16:42:22 -0500 Subject: GH-1065 Normalize usage of directory vs folder --- api/logic/FileSystem.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'api/logic') diff --git a/api/logic/FileSystem.cpp b/api/logic/FileSystem.cpp index 67bafd28..b3115988 100644 --- a/api/logic/FileSystem.cpp +++ b/api/logic/FileSystem.cpp @@ -15,7 +15,7 @@ void ensureExists(const QDir &dir) { if (!QDir().mkpath(dir.absolutePath())) { - throw FileSystemException("Unable to create directory " + dir.dirName() + " (" + + throw FileSystemException("Unable to create folder " + dir.dirName() + " (" + dir.absolutePath() + ")"); } } @@ -265,7 +265,7 @@ QString ResolveExecutable(QString path) /** * Normalize path * - * Any paths inside the current directory will be normalized to relative paths (to current) + * Any paths inside the current folder will be normalized to relative paths (to current) * Other paths will be made absolute */ QString NormalizePath(QString path) @@ -324,7 +324,7 @@ QString DirNameFromString(QString string, QString inDir) return dirName; } -// Does the directory path contain any '!'? If yes, return true, otherwise false. +// Does the folder path contain any '!'? If yes, return true, otherwise false. // (This is a problem for Java) bool checkProblemticPathJava(QDir folder) { -- cgit v1.2.3