From 0e9b0c80cd3e13fdb402791a5c65403e1301deea Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Tue, 28 Dec 2021 22:36:49 +0100 Subject: more cleanups --- src/ReadReceiptsModel.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/ReadReceiptsModel.cpp') diff --git a/src/ReadReceiptsModel.cpp b/src/ReadReceiptsModel.cpp index ff93f7d8..066e850a 100644 --- a/src/ReadReceiptsModel.cpp +++ b/src/ReadReceiptsModel.cpp @@ -112,9 +112,8 @@ 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 QString("%1, %2") - .arg(then.toString("dddd")) - .arg(QLocale::system().toString(then.time(), QLocale::ShortFormat)); + return QString("%1, %2").arg(then.toString("dddd"), + QLocale::system().toString(then.time(), QLocale::ShortFormat)); return QLocale::system().toString(then.time(), QLocale::ShortFormat); } -- cgit 1.5.1