diff options
Diffstat (limited to 'src/library/rhythmbox/rhythmboxfeature.cpp')
-rw-r--r-- | src/library/rhythmbox/rhythmboxfeature.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/library/rhythmbox/rhythmboxfeature.cpp b/src/library/rhythmbox/rhythmboxfeature.cpp index 7c907aa85b..a167a185c9 100644 --- a/src/library/rhythmbox/rhythmboxfeature.cpp +++ b/src/library/rhythmbox/rhythmboxfeature.cpp @@ -150,8 +150,9 @@ TreeItem* RhythmboxFeature::importMusicCollection() { } } - if (!db.open(QIODevice::ReadOnly | QIODevice::Text)) + if (!db.open(QIODevice::ReadOnly | QIODevice::Text)) { return NULL; + } //Delete all table entries of Traktor feature ScopedTransaction transaction(m_database); @@ -205,8 +206,9 @@ TreeItem* RhythmboxFeature::importPlaylists() { } } //Open file - if (!db.open(QIODevice::ReadOnly | QIODevice::Text)) + if (!db.open(QIODevice::ReadOnly | QIODevice::Text)) { return NULL; + } QSqlQuery query_insert_to_playlists(m_database); query_insert_to_playlists.prepare("INSERT INTO rhythmbox_playlists (id, name) " |