summary refs log tree commit diff
path: root/src/timeline
diff options
context:
space:
mode:
Diffstat (limited to 'src/timeline')
-rw-r--r--src/timeline/InputBar.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/timeline/InputBar.cpp b/src/timeline/InputBar.cpp
index 72ac3a32..6fd5c4f9 100644
--- a/src/timeline/InputBar.cpp
+++ b/src/timeline/InputBar.cpp
@@ -82,7 +82,7 @@ InputBar::insertMimeData(const QMimeData *md)
             }
         }
 
-        if (!path.isEmpty() && QFileInfo{path}.exists()) {
+        if (!path.isEmpty() && QFileInfo::exists(path)) {
             showPreview(*md, path, formats);
         } else {
             nhlog::ui()->warn("Clipboard does not contain any valid file paths.");