summaryrefslogtreecommitdiffstats
path: root/src/library/traktor/traktorfeature.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/library/traktor/traktorfeature.cpp')
-rw-r--r--src/library/traktor/traktorfeature.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/traktor/traktorfeature.cpp b/src/library/traktor/traktorfeature.cpp
index e0e1ebe5e2..35f77ab003 100644
--- a/src/library/traktor/traktorfeature.cpp
+++ b/src/library/traktor/traktorfeature.cpp
@@ -206,7 +206,7 @@ TreeItem* TraktorFeature::importLibrary(const QString& file) {
//Parse Trakor XML file using SAX (for performance)
QFile traktor_file(file);
- if (!Sandbox::askForAccess(file) || !traktor_file.open(QIODevice::ReadOnly | QIODevice::Text)) {
+ if (!Sandbox::askForAccess(file) || !traktor_file.open(QIODevice::ReadOnly)) {
qDebug() << "Cannot open Traktor music collection";
return nullptr;
}