mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-12-04 15:39:34 +01:00
clang-tidy: use braced init list (#7998)
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user