aboutsummaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2022-09-08 22:58:14 +0200
committerdec05eba <dec05eba@protonmail.com>2022-09-08 22:58:14 +0200
commitb677cfe8c261bae436d3e70a45256d79cfda28e3 (patch)
tree48373423144b837827b0123be54eb13deed5c503 /src/plugins
parentd0dda48e791e6f08f6be3936623a2c305caacb3c (diff)
Remove linux specific sendfile function (unused)
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/Matrix.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/Matrix.cpp b/src/plugins/Matrix.cpp
index b54092e..f8ee2a2 100644
--- a/src/plugins/Matrix.cpp
+++ b/src/plugins/Matrix.cpp
@@ -3742,7 +3742,7 @@ namespace QuickMedia {
int tmp_file = mkstemp(tmp_filename);
if(tmp_file != -1) {
std::string thumbnail_path;
- if(create_thumbnail(filepath, tmp_filename, thumbnail_max_size, file_analyzer.get_content_type(), true))
+ if(create_thumbnail(filepath, tmp_filename, thumbnail_max_size, file_analyzer.get_content_type()))
thumbnail_path = tmp_filename;
else
thumbnail_path = filepath;