summaryrefslogtreecommitdiffstats
path: root/src/library
diff options
context:
space:
mode:
authorDaniel Schürmann <daschuer@mixxx.org>2021-06-19 16:32:02 +0200
committerDaniel Schürmann <daschuer@mixxx.org>2021-06-19 16:32:02 +0200
commit5b26d604f139f1623872fc19083df30ac7d2cc70 (patch)
treee4e99c4fac8e45db19e1156687fe9c5ade00230a /src/library
parentc6e09207ab374d7cd99b51df1d2386ae56e8fcee (diff)
Don't use coninical path on path that may not exists, fixing lp1921541
Diffstat (limited to 'src/library')
-rw-r--r--src/library/library.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/library/library.cpp b/src/library/library.cpp
index 44b97c9a75..36088ee82b 100644
--- a/src/library/library.cpp
+++ b/src/library/library.cpp
@@ -188,8 +188,7 @@ Library::Library(
// sandboxing then we will need them to give us permission.
qDebug() << "Checking for access to user's library directories:";
foreach (QString directoryPath, getDirs()) {
- QFileInfo directory(directoryPath);
- bool hasAccess = Sandbox::askForAccess(directory.canonicalFilePath());
+ bool hasAccess = Sandbox::askForAccess(directoryPath);
qDebug() << "Checking for access to" << directoryPath << ":" << hasAccess;
}