From 0471998e13aada9a76e92b13ab3885c2d1c2fb84 Mon Sep 17 00:00:00 2001 From: Jan Holthuis Date: Tue, 15 Dec 2020 01:05:33 +0100 Subject: Add missing braces around single-line statements --- src/library/rhythmbox/rhythmboxfeature.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/library/rhythmbox/rhythmboxfeature.cpp') 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) " -- cgit v1.2.3