From c05a976baca75d61ff8f35dd972f3f064acc344a Mon Sep 17 00:00:00 2001 From: Martchus Date: Fri, 24 Apr 2020 23:26:52 +0200 Subject: [PATCH] Apply clang-format --- application/main.cpp | 3 ++- gui/tageditorwidget.cpp | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/application/main.cpp b/application/main.cpp index 13c43c2..5049faf 100644 --- a/application/main.cpp +++ b/application/main.cpp @@ -218,7 +218,8 @@ int main(int argc, char *argv[]) renamingUtilityArg.isPresent()); #else CMD_UTILS_START_CONSOLE; - cerr << EscapeCodes::Phrases::Error << "The tag editor has not been built with Qt widgets GUI support. Use --help to show the options of the CLI." << endl; + cerr << EscapeCodes::Phrases::Error + << "The tag editor has not been built with Qt widgets GUI support. Use --help to show the options of the CLI." << endl; #endif } else { // apply general CLI config (concerns currently only the default time span output format) diff --git a/gui/tageditorwidget.cpp b/gui/tageditorwidget.cpp index 47f17cf..e2c32a7 100644 --- a/gui/tageditorwidget.cpp +++ b/gui/tageditorwidget.cpp @@ -1043,7 +1043,8 @@ bool TagEditorWidget::applyEntriesAndSaveChangings() AbstractContainer *const container = m_fileInfo.container(); if (container && container->supportsTitle()) { QLayout *const docTitleLayout = m_ui->docTitleWidget->layout(); - for (std::size_t i = 0, count = min(static_cast(docTitleLayout->count()), container->segmentCount()); i < count; ++i) { + for (std::size_t i = 0, count = min(static_cast(docTitleLayout->count()), container->segmentCount()); i < count; + ++i) { container->setTitle(static_cast(docTitleLayout->itemAt(static_cast(i))->widget())->text().toUtf8().data(), i); } }