From a5224d930dd8f80cd58363198f55964d90ce51e1 Mon Sep 17 00:00:00 2001 From: Martchus Date: Tue, 13 Aug 2019 00:35:04 +0200 Subject: [PATCH] Apply clang-format --- cli/mainfeatures.cpp | 3 +-- gui/tagfieldedit.cpp | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/cli/mainfeatures.cpp b/cli/mainfeatures.cpp index 256035b..d3f256a 100644 --- a/cli/mainfeatures.cpp +++ b/cli/mainfeatures.cpp @@ -592,8 +592,7 @@ void setTagInfo(const SetTagInfoArgs &args) for (const auto &fieldDenotation : fields) { const FieldScope &denotedScope = fieldDenotation.first; // skip values which scope does not match the current tag - if (denotedScope.isTrack() - || !(denotedScope.tagType == TagType::Unspecified || (denotedScope.tagType & tagType)) + if (denotedScope.isTrack() || !(denotedScope.tagType == TagType::Unspecified || (denotedScope.tagType & tagType)) || !(!targetSupported || denotedScope.tagTarget == tagTarget)) { continue; } diff --git a/gui/tagfieldedit.cpp b/gui/tagfieldedit.cpp index 7558835..12f1e8e 100644 --- a/gui/tagfieldedit.cpp +++ b/gui/tagfieldedit.cpp @@ -693,8 +693,7 @@ bool TagFieldEdit::updateValue(const TagValue &value, PreviousValueHandling prev } return updated; } - const auto pixmap( - QIcon::fromTheme(QStringLiteral("emblem-error")).pixmap(16)); + const auto pixmap(QIcon::fromTheme(QStringLiteral("emblem-error")).pixmap(16)); const auto text([&] { QString text; if (conversionError) {