mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-11-30 20:36:36 -05:00
Use QDateTime::fromSecsSinceEpoch in Qt 6 instead of QDateTime::fromTime_t
This commit is contained in:
parent
a00c1375e5
commit
42b3b95fd8
19 changed files with 62 additions and 41 deletions
|
|
@ -416,7 +416,7 @@ void ChatWidget::init(const ChatId &chat_id, const QString &title)
|
|||
name = QString::fromUtf8(historyIt->peerId.toStdString().c_str());
|
||||
}
|
||||
|
||||
addChatMsg(historyIt->incoming, name, RsGxsId(historyIt->peerId.toStdString().c_str()), QDateTime::fromTime_t(historyIt->sendTime), QDateTime::fromTime_t(historyIt->recvTime), QString::fromUtf8(historyIt->message.c_str()), MSGTYPE_HISTORY);
|
||||
addChatMsg(historyIt->incoming, name, RsGxsId(historyIt->peerId.toStdString().c_str()), DateTime::DateTimeFromTime_t(historyIt->sendTime), DateTime::DateTimeFromTime_t(historyIt->recvTime), QString::fromUtf8(historyIt->message.c_str()), MSGTYPE_HISTORY);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue