Enforce new-line at end of code files

This commit is contained in:
Jonathan White
2025-07-06 09:20:11 -04:00
parent 8fe55558a0
commit 0e9dc777d5
7 changed files with 7 additions and 8 deletions

View File

@@ -54,6 +54,7 @@ IncludeCategories:
IndentCaseLabels: false
IndentWidth: 4
IndentWrappedFunctionNames: false
InsertNewlineAtEOF: true
KeepEmptyLinesAtTheStartOfBlocks: true
MacroBlockBegin: ''
MacroBlockEnd: ''

View File

@@ -155,4 +155,4 @@ void BrowserPasskeysConfirmationDialog::updateEntriesToTable(const QList<Entry*>
m_ui->credentialsTable->resizeColumnsToContents();
m_ui->credentialsTable->horizontalHeader()->setStretchLastSection(true);
}
}

View File

@@ -623,4 +623,4 @@ void ApplicationSettingsWidget::selectBackupDirectory()
m_generalUi->backupFilePath->setText(
QDir(backupDirectory).filePath(config()->getDefault(Config::BackupFilePathPattern).toString()));
}
}
}

View File

@@ -60,4 +60,4 @@ private:
friend class TestIconDownloader;
};
#endif // KEEPASSXC_ICONDOWNLOADER_H
#endif // KEEPASSXC_ICONDOWNLOADER_H

View File

@@ -27,6 +27,4 @@ NewDatabaseWizardPageMetaData::NewDatabaseWizardPageMetaData(QWidget* parent)
setSubTitle(tr("Please fill in the display name and an optional description for your new database:"));
}
NewDatabaseWizardPageMetaData::~NewDatabaseWizardPageMetaData()
{
}
NewDatabaseWizardPageMetaData::~NewDatabaseWizardPageMetaData() = default;

View File

@@ -49,4 +49,4 @@ protected:
qint64 m_sizeStreamed;
};
#endif // KEEPASSX_HASHINGSTREAM_H
#endif // KEEPASSX_HASHINGSTREAM_H

View File

@@ -43,4 +43,4 @@ int main(int argc, char* argv[])
result |= QTest::qExec(&attachmentWidget, argc, argv);
return result;
}
}