mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-30 09:07:32 -04:00
retroshare-gui fix windows compilation error due to time_t usage
This commit is contained in:
parent
72d8364370
commit
6db23267c3
5 changed files with 11 additions and 9 deletions
|
@ -792,7 +792,7 @@ void ChatWidget::completeNickname(bool reverse)
|
|||
std::list<QString> participants;
|
||||
RsIdentityDetails details ;
|
||||
|
||||
for ( std::map<RsGxsId,time_t>::const_iterator it = lobby.gxs_ids.begin(); it != lobby.gxs_ids.end(); ++it)
|
||||
for (auto it = lobby.gxs_ids.begin(); it != lobby.gxs_ids.end(); ++it)
|
||||
{
|
||||
if(rsIdentity->getIdDetails(it->first,details))
|
||||
participants.push_front(QString::fromUtf8(details.mNickname.c_str()));
|
||||
|
@ -859,7 +859,7 @@ QAbstractItemModel *ChatWidget::modelFromPeers()
|
|||
// Get participants list
|
||||
QStringList participants;
|
||||
|
||||
for (std::map<RsGxsId,time_t>::const_iterator it = lobby.gxs_ids.begin(); it != lobby.gxs_ids.end(); ++it)
|
||||
for (auto it = lobby.gxs_ids.begin(); it != lobby.gxs_ids.end(); ++it)
|
||||
{
|
||||
RsIdentityDetails details ;
|
||||
rsIdentity->getIdDetails(it->first,details) ;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue