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
No known key found for this signature in database
GPG key ID: 440FC65F2E0C6E01
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;
}
}