fixed compilation for Qt 4.6

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6414 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2013-06-08 12:54:24 +00:00
parent 12ebb6aa9d
commit f22972d0f4

View File

@ -59,7 +59,7 @@ void CreateMsgLinkDialog::updateCurrentRow(int r)
{ {
_current_link_type_LE->setText("") ; _current_link_type_LE->setText("") ;
_current_link_dst_LE->setText("") ; _current_link_dst_LE->setText("") ;
_current_link_date_DE->setDateTime(QDateTime::fromMSecsSinceEpoch(0)) ; _current_link_date_DE->setDateTime(QDateTime::fromTime_t(0)) ;
return ; return ;
} }
@ -74,7 +74,7 @@ void CreateMsgLinkDialog::updateCurrentRow(int r)
_current_link_type_LE->setText( tr("Public message invite") ) ; _current_link_type_LE->setText( tr("Public message invite") ) ;
_current_link_dst_LE->setText(link.GPGId()) ; _current_link_dst_LE->setText(link.GPGId()) ;
_current_link_date_DE->setDateTime(QDateTime::fromMSecsSinceEpoch(link.timeStamp() * 1000 )) ; _current_link_date_DE->setDateTime(QDateTime::fromTime_t(link.timeStamp())) ;
} }
void CreateMsgLinkDialog::toggleCreateLink(bool b) void CreateMsgLinkDialog::toggleCreateLink(bool b)