diff options
Diffstat (limited to 'src/file_functions.cpp')
| -rw-r--r-- | src/file_functions.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/file_functions.cpp b/src/file_functions.cpp index e64a46bf..37cdc32c 100644 --- a/src/file_functions.cpp +++ b/src/file_functions.cpp @@ -2,6 +2,9 @@ bool file_exists(QString file_path) { + if (file_path.isEmpty()) + return false; + QFileInfo check_file(file_path); return check_file.exists() && check_file.isFile(); |
