diff options
Diffstat (limited to 'src/file_functions.cpp')
| -rw-r--r-- | src/file_functions.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/file_functions.cpp b/src/file_functions.cpp index e2b2882..e64a46b 100644 --- a/src/file_functions.cpp +++ b/src/file_functions.cpp @@ -2,21 +2,21 @@ bool file_exists(QString file_path) { - QFileInfo check_file(file_path); + QFileInfo check_file(file_path); - return check_file.exists() && check_file.isFile(); + return check_file.exists() && check_file.isFile(); } bool dir_exists(QString dir_path) { - QDir check_dir(dir_path); + QDir check_dir(dir_path); - return check_dir.exists(); + return check_dir.exists(); } bool exists(QString p_path) { - QFile file(p_path); + QFile file(p_path); - return file.exists(); + return file.exists(); } |
