Fixed code quality

Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
Trial97 2023-06-22 17:39:57 +03:00
parent b84dc8551a
commit 836e8d2e28
No known key found for this signature in database
GPG Key ID: 55EF5DA53DB36318

View File

@ -86,7 +86,7 @@ void ExportModsToStringDialog::formatChanged(int index)
void ExportModsToStringDialog::triggerImp()
{
ExportToString::Formats format;
auto format = ExportToString::HTML;
switch (ui->formatComboBox->currentIndex()) {
case 2: {
m_template_selected = true;
@ -101,6 +101,9 @@ void ExportModsToStringDialog::triggerImp()
format = ExportToString::MARKDOWN;
break;
}
default: {
return;
}
}
auto opt = 0;
if (ui->authorsCheckBox->isChecked())