mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-24 23:19:29 -05:00
switch relative/absolute TS between label and tooltip in boards
This commit is contained in:
parent
d9ddba6952
commit
4ed1d1f8fc
@ -205,8 +205,8 @@ void BoardPostDisplayWidgetBase::setup()
|
||||
qtime.setTime_t(mPost.mMeta.mPublishTs);
|
||||
QString timestamp = qtime.toString("hh:mm dd-MMM-yyyy");
|
||||
QString timestamp2 = misc::timeRelativeToNow(mPost.mMeta.mPublishTs) + " " + tr("ago");
|
||||
dateLabel()->setText(timestamp2);
|
||||
dateLabel()->setToolTip(timestamp);
|
||||
dateLabel()->setText(timestamp);
|
||||
dateLabel()->setToolTip(timestamp2);
|
||||
|
||||
fromLabel()->setId(mPost.mMeta.mAuthorId);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user