aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2022-03-04 03:35:25 +0100
committerdec05eba <dec05eba@protonmail.com>2022-03-04 03:35:25 +0100
commit7b5caa47fe764573828a0d9e1d1b100ed9d19e9b (patch)
treed10dbca53980c6eec2212c9aee1b03bd7a36aaf5 /src
parentd037e38d8e65e8dc20e783e03fdb7474ed93cf4c (diff)
Fix fileanalyzer load_metadata on load not working
Diffstat (limited to 'src')
-rw-r--r--src/FileAnalyzer.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/FileAnalyzer.cpp b/src/FileAnalyzer.cpp
index 976d2cf..f16c232 100644
--- a/src/FileAnalyzer.cpp
+++ b/src/FileAnalyzer.cpp
@@ -263,11 +263,12 @@ namespace QuickMedia {
}
}
+ this->filepath = filepath;
+ loaded = true;
+
if(load_file_metadata && content_type != ContentType::UNKNOWN)
load_metadata();
- this->filepath = filepath;
- loaded = true;
return true;
}