Reserve size of some containers we are filling
This commit is contained in:
parent
812e3b5f03
commit
19dc6cadea
31 changed files with 317 additions and 209 deletions
|
|
@ -112,8 +112,9 @@ ReadReceiptsModel::dateFormat(const QDateTime &then) const
|
|||
else if (days < 7)
|
||||
//: %1 is the name of the current day, %2 is the time the read receipt was read. The
|
||||
//: result may look like this: Monday, 7:15
|
||||
return QStringLiteral("%1, %2").arg(then.toString(QStringLiteral("dddd")),
|
||||
QLocale::system().toString(then.time(), QLocale::ShortFormat));
|
||||
return QStringLiteral("%1, %2").arg(
|
||||
then.toString(QStringLiteral("dddd")),
|
||||
QLocale::system().toString(then.time(), QLocale::ShortFormat));
|
||||
|
||||
return QLocale::system().toString(then.time(), QLocale::ShortFormat);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue