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) {
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;
}

View File

@ -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) {