mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
Fixed the display of the time in the SecurityItem.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4573 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
01fa9eec3f
commit
ac6f4539e9
@ -132,6 +132,9 @@ void SecurityItem::updateItemStatic()
|
|||||||
|
|
||||||
titleLabel->setText(title);
|
titleLabel->setText(title);
|
||||||
|
|
||||||
|
QDateTime currentTime = QDateTime::currentDateTime();
|
||||||
|
timeLabel->setText(currentTime.toString(Qt::LocalDate));
|
||||||
|
|
||||||
if (mIsHome)
|
if (mIsHome)
|
||||||
{
|
{
|
||||||
/* disable buttons */
|
/* disable buttons */
|
||||||
@ -152,8 +155,6 @@ void SecurityItem::updateItem()
|
|||||||
std::cerr << "SecurityItem::updateItem()";
|
std::cerr << "SecurityItem::updateItem()";
|
||||||
std::cerr << std::endl;
|
std::cerr << std::endl;
|
||||||
#endif
|
#endif
|
||||||
QDateTime currentTime = QDateTime::currentDateTime();
|
|
||||||
timeLabel->setText(currentTime.toString(Qt::LocalDate));
|
|
||||||
|
|
||||||
if(!RsAutoUpdatePage::eventsLocked()) {
|
if(!RsAutoUpdatePage::eventsLocked()) {
|
||||||
/* set textcolor for peer name */
|
/* set textcolor for peer name */
|
||||||
|
Loading…
Reference in New Issue
Block a user