Apply clang-format
This commit is contained in:
parent
1a94b5c85d
commit
1017873c28
|
@ -95,7 +95,7 @@ void MusicBrainzResultsModel::parseInitialResults(const QByteArray &data)
|
|||
|
||||
// parse XML tree
|
||||
QXmlStreamReader xmlReader(data);
|
||||
// clang-format off
|
||||
// clang-format off
|
||||
#include <qtutilities/misc/xmlparsermacros.h>
|
||||
children {
|
||||
iftag("metadata") {
|
||||
|
|
|
@ -279,7 +279,8 @@ void DbQueryWidget::showResults()
|
|||
if (m_model->results().isEmpty()) {
|
||||
m_ui->notificationLabel->setText(tr("No results available"));
|
||||
} else {
|
||||
m_ui->notificationLabel->setText(tr("%1 result(s) available", nullptr, Utility::containerSizeToInt(m_model->results().size())).arg(m_model->results().size()));
|
||||
m_ui->notificationLabel->setText(
|
||||
tr("%1 result(s) available", nullptr, Utility::containerSizeToInt(m_model->results().size())).arg(m_model->results().size()));
|
||||
}
|
||||
} else {
|
||||
m_ui->notificationLabel->setNotificationType(NotificationType::Critical);
|
||||
|
|
|
@ -369,7 +369,7 @@ void TagEditorWidget::updateTagEditsAndAttachmentEdits(bool updateUi, PreviousVa
|
|||
auto index = targets.indexOf(target);
|
||||
if (index < 0) {
|
||||
targets << target;
|
||||
tagsByTarget << QList<Tag *>({tag});
|
||||
tagsByTarget << QList<Tag *>({ tag });
|
||||
} else {
|
||||
tagsByTarget[index] << tag;
|
||||
}
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
#include <QString>
|
||||
#include <QStringList>
|
||||
|
||||
#include <type_traits>
|
||||
#include <limits>
|
||||
#include <type_traits>
|
||||
|
||||
QT_FORWARD_DECLARE_CLASS(QDir)
|
||||
QT_FORWARD_DECLARE_CLASS(QAbstractItemModel)
|
||||
|
|
Loading…
Reference in New Issue