From c46fb5eec79b083ec85562b21f37727d294d8a82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eduardo=20S=C3=A1nchez=20Mu=C3=B1oz?= Date: Tue, 30 Jun 2015 19:51:01 +0200 Subject: [PATCH] Code formatting fixes --- ext/libclementine-tagreader/tagreader.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/ext/libclementine-tagreader/tagreader.cpp b/ext/libclementine-tagreader/tagreader.cpp index af9b93ab2..73925a3f5 100644 --- a/ext/libclementine-tagreader/tagreader.cpp +++ b/ext/libclementine-tagreader/tagreader.cpp @@ -190,8 +190,9 @@ void TagReader::ReadFile(const QString& filename, compilation = TStringToQString(map["TCMP"].front()->toString()).trimmed(); - if(!map["TDOR"].isEmpty()) - song->set_originalyear(map["TDOR"].front()->toString().substr(0, 4).toInt()); + if (!map["TDOR"].isEmpty()) + song->set_originalyear( + map["TDOR"].front()->toString().substr(0, 4).toInt()); if (!map["USLT"].isEmpty()) { Decode(map["USLT"].front()->toString(), nullptr, @@ -493,7 +494,8 @@ void TagReader::ParseOggTag(const TagLib::Ogg::FieldListMap& map, } if (!map["ORIGINALDATE"].isEmpty()) - song->set_originalyear(TStringToQString(map["ORIGINALDATE"].front()).left(4).toInt()); + song->set_originalyear( + TStringToQString(map["ORIGINALDATE"].front()).left(4).toInt()); if (!map["BPM"].isEmpty()) song->set_bpm(TStringToQString(map["BPM"].front()).trimmed().toFloat());