aboutsummaryrefslogtreecommitdiff
path: root/file_functions.cpp
diff options
context:
space:
mode:
authorDavid Skoland <davidskoland@gmail.com>2018-11-17 20:11:59 +0100
committerDavid Skoland <davidskoland@gmail.com>2018-11-17 20:11:59 +0100
commitfddb72950ed475227a4f2c94a5b567049272a54e (patch)
treea4e0f705a92d4cbed16e7d7575a279771acafd10 /file_functions.cpp
parent06c7a95bc2b10af9562e21825b810f045d410a57 (diff)
reworked get_case_sensitive_path to be recursive
Diffstat (limited to 'file_functions.cpp')
-rw-r--r--file_functions.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/file_functions.cpp b/file_functions.cpp
index bc9185f2..fa53ab6c 100644
--- a/file_functions.cpp
+++ b/file_functions.cpp
@@ -16,3 +16,9 @@ bool dir_exists(QString dir_path)
return check_dir.exists();
}
+
+bool exists(QString p_path) {
+ QFile file(p_path);
+
+ return file.exists();
+}