summaryrefslogtreecommitdiffstats
path: root/src/library/rhythmbox/rhythmboxfeature.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/library/rhythmbox/rhythmboxfeature.cpp')
-rw-r--r--src/library/rhythmbox/rhythmboxfeature.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/library/rhythmbox/rhythmboxfeature.cpp b/src/library/rhythmbox/rhythmboxfeature.cpp
index d0b54b57b5..53df4526d3 100644
--- a/src/library/rhythmbox/rhythmboxfeature.cpp
+++ b/src/library/rhythmbox/rhythmboxfeature.cpp
@@ -151,7 +151,7 @@ TreeItem* RhythmboxFeature::importMusicCollection() {
}
if (!Sandbox::askForAccess(QFileInfo(db).absoluteFilePath()) ||
- !db.open(QIODevice::ReadOnly | QIODevice::Text)) {
+ !db.open(QIODevice::ReadOnly)) {
return nullptr;
}
@@ -207,7 +207,7 @@ TreeItem* RhythmboxFeature::importPlaylists() {
}
}
//Open file
- if (!db.open(QIODevice::ReadOnly | QIODevice::Text)) {
+ if (!db.open(QIODevice::ReadOnly)) {
return nullptr;
}