Skip to content

Commit 76b2f37

Browse files
committed
Enforce new-line at end of code files
1 parent 20c65fb commit 76b2f37

File tree

7 files changed

+7
-6
lines changed

7 files changed

+7
-6
lines changed

.clang-format

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ IncludeCategories:
5454
IndentCaseLabels: false
5555
IndentWidth: 4
5656
IndentWrappedFunctionNames: false
57+
InsertNewlineAtEOF: true
5758
KeepEmptyLinesAtTheStartOfBlocks: true
5859
MacroBlockBegin: ''
5960
MacroBlockEnd: ''

src/browser/BrowserPasskeysConfirmationDialog.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,4 +155,4 @@ void BrowserPasskeysConfirmationDialog::updateEntriesToTable(const QList<Entry*>
155155

156156
m_ui->credentialsTable->resizeColumnsToContents();
157157
m_ui->credentialsTable->horizontalHeader()->setStretchLastSection(true);
158-
}
158+
}

src/gui/ApplicationSettingsWidget.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -626,4 +626,4 @@ void ApplicationSettingsWidget::selectBackupDirectory()
626626
m_generalUi->backupFilePath->setText(
627627
QDir(backupDirectory).filePath(config()->getDefault(Config::BackupFilePathPattern).toString()));
628628
}
629-
}
629+
}

src/gui/IconDownloader.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,4 +60,4 @@ private slots:
6060
friend class TestIconDownloader;
6161
};
6262

63-
#endif // KEEPASSXC_ICONDOWNLOADER_H
63+
#endif // KEEPASSXC_ICONDOWNLOADER_H

src/gui/wizard/NewDatabaseWizardPageMetaData.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@ NewDatabaseWizardPageMetaData::NewDatabaseWizardPageMetaData(QWidget* parent)
2727
setSubTitle(tr("Please fill in the display name and an optional description for your new database:"));
2828
}
2929

30-
NewDatabaseWizardPageMetaData::~NewDatabaseWizardPageMetaData() = default;
30+
NewDatabaseWizardPageMetaData::~NewDatabaseWizardPageMetaData() = default;

src/streams/HashingStream.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,4 +49,4 @@ class HashingStream : public LayeredStream
4949
qint64 m_sizeStreamed;
5050
};
5151

52-
#endif // KEEPASSX_HASHINGSTREAM_H
52+
#endif // KEEPASSX_HASHINGSTREAM_H

tests/gui/attachments/TestAttachmentsGui.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,4 @@ int main(int argc, char* argv[])
4343
result |= QTest::qExec(&attachmentWidget, argc, argv);
4444

4545
return result;
46-
}
46+
}

0 commit comments

Comments
 (0)