From 4ed1d1f8fc2e06f0f5292e35ea7c6357850b5313 Mon Sep 17 00:00:00 2001 From: csoler Date: Sat, 17 Oct 2020 20:53:07 +0200 Subject: [PATCH] switch relative/absolute TS between label and tooltip in boards --- retroshare-gui/src/gui/Posted/BoardPostDisplayWidget.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/retroshare-gui/src/gui/Posted/BoardPostDisplayWidget.cpp b/retroshare-gui/src/gui/Posted/BoardPostDisplayWidget.cpp index cb6b85a5f..5594d47a0 100644 --- a/retroshare-gui/src/gui/Posted/BoardPostDisplayWidget.cpp +++ b/retroshare-gui/src/gui/Posted/BoardPostDisplayWidget.cpp @@ -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);