Apply clang-format
This commit is contained in:
parent
b7016f98a2
commit
0caff70ebb
|
@ -88,7 +88,7 @@ EnterTargetDialog::~EnterTargetDialog()
|
|||
void EnterTargetDialog::updateLevelNamePlaceholderText(int i)
|
||||
{
|
||||
m_ui->levelNameLineEdit->setPlaceholderText(qstringFromStdStringView(
|
||||
i >= 0 ? tagTargetLevelName(containerTargetLevel(m_currentContainerFormat, static_cast<std::uint32_t>(i))) : std::string_view()));
|
||||
i >= 0 ? tagTargetLevelName(containerTargetLevel(m_currentContainerFormat, static_cast<std::uint32_t>(i))) : std::string_view()));
|
||||
}
|
||||
|
||||
void EnterTargetDialog::updateStyleSheet()
|
||||
|
|
|
@ -520,7 +520,8 @@ void PicturePreviewSelection::extractSelected()
|
|||
QMessageBox::warning(this, QCoreApplication::applicationName(), tr("Unable to open output file."));
|
||||
return;
|
||||
}
|
||||
if (value.dataSize() <= static_cast<std::size_t>(numeric_limits<qint64>::max()) && file.write(value.dataPointer(), static_cast<qint64>(value.dataSize())) > 0) {
|
||||
if (value.dataSize() <= static_cast<std::size_t>(numeric_limits<qint64>::max())
|
||||
&& file.write(value.dataPointer(), static_cast<qint64>(value.dataSize())) > 0) {
|
||||
QMessageBox::information(this, QCoreApplication::applicationName(), tr("The cover has extracted."));
|
||||
} else {
|
||||
QMessageBox::warning(this, QCoreApplication::applicationName(), tr("Unable to write to output file."));
|
||||
|
|
Loading…
Reference in New Issue