Apply clang-format

This commit is contained in:
Martchus 2019-08-13 00:35:04 +02:00
parent aa0d57f56a
commit a5224d930d
2 changed files with 2 additions and 4 deletions

View File

@ -592,8 +592,7 @@ void setTagInfo(const SetTagInfoArgs &args)
for (const auto &fieldDenotation : fields) { for (const auto &fieldDenotation : fields) {
const FieldScope &denotedScope = fieldDenotation.first; const FieldScope &denotedScope = fieldDenotation.first;
// skip values which scope does not match the current tag // skip values which scope does not match the current tag
if (denotedScope.isTrack() if (denotedScope.isTrack() || !(denotedScope.tagType == TagType::Unspecified || (denotedScope.tagType & tagType))
|| !(denotedScope.tagType == TagType::Unspecified || (denotedScope.tagType & tagType))
|| !(!targetSupported || denotedScope.tagTarget == tagTarget)) { || !(!targetSupported || denotedScope.tagTarget == tagTarget)) {
continue; continue;
} }

View File

@ -693,8 +693,7 @@ bool TagFieldEdit::updateValue(const TagValue &value, PreviousValueHandling prev
} }
return updated; return updated;
} }
const auto pixmap( const auto pixmap(QIcon::fromTheme(QStringLiteral("emblem-error")).pixmap(16));
QIcon::fromTheme(QStringLiteral("emblem-error")).pixmap(16));
const auto text([&] { const auto text([&] {
QString text; QString text;
if (conversionError) { if (conversionError) {