clang-tidy: use braced init list (#7998)

This commit is contained in:
Rosen Penev 2023-01-29 07:05:44 -08:00 committed by GitHub
parent 0f7ef275ab
commit 318157d242
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
34 changed files with 87 additions and 87 deletions

View file

@ -244,7 +244,7 @@ QDateTime TestKeePass1Reader::genDT(int year, int month, int day, int hour, int
{
QDate date(year, month, day);
QTime time(hour, min, 0);
return QDateTime(date, time, Qt::UTC);
return {date, time, Qt::UTC};
}
void TestKeePass1Reader::reopenDatabase(QSharedPointer<Database> db,