From fddb72950ed475227a4f2c94a5b567049272a54e Mon Sep 17 00:00:00 2001 From: David Skoland Date: Sat, 17 Nov 2018 20:11:59 +0100 Subject: reworked get_case_sensitive_path to be recursive --- file_functions.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'file_functions.cpp') 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(); +} -- cgit