aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/path_functions.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/path_functions.cpp b/src/path_functions.cpp
index 61df1c6..6fd06e7 100644
--- a/src/path_functions.cpp
+++ b/src/path_functions.cpp
@@ -253,6 +253,12 @@ QString AOApplication::get_real_path(const VPath &vpath) {
}
}
+ // Not found in mount paths; check if the file is remote
+ QString remotePath = vpath.toQString();
+ if (remotePath.startsWith("http:") || remotePath.startsWith("https:")) {
+ return remotePath;
+ }
+
// File or directory not found
return QString();
}