Fix Do not prepend \\ to network share paths

This commit is contained in:
2025-03-02 17:09:33 +01:00
parent e47c99fd21
commit 58abf762c0
4 changed files with 16 additions and 14 deletions
+3 -3
View File
@@ -11,7 +11,7 @@
#include <lcms2.h>
LoadRunable::LoadRunable(const QString &file, Image *receiver, AnalyzeLevel level, bool thumbnail) :
m_file(makeMaxPath(file)),
m_file(makeUNCPath(file)),
m_receiver(receiver),
m_analyzeLevel(level),
m_thumbnail(thumbnail)
@@ -100,8 +100,8 @@ void LoadRunable::run()
}
ConvertRunable::ConvertRunable(const QString &in, const QString &out, const QString &format, const ConvertParams &params, QSemaphore *semaphore) :
m_infile(makeMaxPath(in)),
m_outfile(makeMaxPath(out)),
m_infile(makeUNCPath(in)),
m_outfile(makeUNCPath(out)),
m_format(format),
m_params(params),
m_semaphore(semaphore)