mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-26 16:09:35 -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);
|
qtime.setTime_t(mPost.mMeta.mPublishTs);
|
||||||
QString timestamp = qtime.toString("hh:mm dd-MMM-yyyy");
|
QString timestamp = qtime.toString("hh:mm dd-MMM-yyyy");
|
||||||
QString timestamp2 = misc::timeRelativeToNow(mPost.mMeta.mPublishTs) + " " + tr("ago");
|
QString timestamp2 = misc::timeRelativeToNow(mPost.mMeta.mPublishTs) + " " + tr("ago");
|
||||||
dateLabel()->setText(timestamp2);
|
dateLabel()->setText(timestamp);
|
||||||
dateLabel()->setToolTip(timestamp);
|
dateLabel()->setToolTip(timestamp2);
|
||||||
|
|
||||||
fromLabel()->setId(mPost.mMeta.mAuthorId);
|
fromLabel()->setId(mPost.mMeta.mAuthorId);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user