Apply clang-format
This commit is contained in:
parent
01daa21305
commit
c05a976bac
|
@ -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)
|
||||
|
|
|
@ -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<std::size_t>(static_cast<std::size_t>(docTitleLayout->count()), container->segmentCount()); i < count; ++i) {
|
||||
for (std::size_t i = 0, count = min<std::size_t>(static_cast<std::size_t>(docTitleLayout->count()), container->segmentCount()); i < count;
|
||||
++i) {
|
||||
container->setTitle(static_cast<ClearLineEdit *>(docTitleLayout->itemAt(static_cast<int>(i))->widget())->text().toUtf8().data(), i);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue