Enforce new-line at end of code files

This commit is contained in:
Jonathan White 2025-07-06 09:20:11 -04:00
parent 20c65fbd1e
commit 76b2f377df
7 changed files with 7 additions and 6 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

@ -626,4 +626,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,4 +27,4 @@ NewDatabaseWizardPageMetaData::NewDatabaseWizardPageMetaData(QWidget* parent)
setSubTitle(tr("Please fill in the display name and an optional description for your new database:"));
}
NewDatabaseWizardPageMetaData::~NewDatabaseWizardPageMetaData() = default;
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;
}
}