aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/QuickMedia.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/QuickMedia.cpp b/src/QuickMedia.cpp
index 84f921f..ddc50d5 100644
--- a/src/QuickMedia.cpp
+++ b/src/QuickMedia.cpp
@@ -7246,7 +7246,7 @@ namespace QuickMedia {
if(tmp_file != -1)
clipboard_text = tmp_filename;
- if(clipboard_success && !clipboard_text.empty() && get_file_type(clipboard_text) == FileType::REGULAR) {
+ if(clipboard_success && !clipboard_text.empty() && get_file_type(clipboard_text) == FileType::REGULAR && clipboard_text[0] == '/') {
const time_t now = time(nullptr);
struct tm t;
localtime_r(&now, &t);