From e88009d0d3186c29befc61b36d18da1befe074c5 Mon Sep 17 00:00:00 2001 From: electron128 Date: Mon, 1 Jun 2015 16:35:00 +0000 Subject: [PATCH] fixed compile (patch from Phenom) git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8337 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- retroshare-gui/src/gui/Identity/IdDialog.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/retroshare-gui/src/gui/Identity/IdDialog.cpp b/retroshare-gui/src/gui/Identity/IdDialog.cpp index 03348bda5..b77cd834c 100644 --- a/retroshare-gui/src/gui/Identity/IdDialog.cpp +++ b/retroshare-gui/src/gui/Identity/IdDialog.cpp @@ -548,13 +548,13 @@ void IdDialog::requestIdDetails() static QString getHumanReadableDuration(uint32_t seconds) { if(seconds < 60) - return QString(tr("%1 seconds ago")).arg(seconds) ; + return QString(QObject::tr("%1 seconds ago")).arg(seconds) ; else if(seconds < 3600) - return QString(tr("%1 minute(s) ago")).arg(seconds/60) ; + return QString(QObject::tr("%1 minute(s) ago")).arg(seconds/60) ; else if(seconds < 24*3600) - return QString(tr("%1 hour(s) ago")).arg(seconds/3600) ; + return QString(QObject::tr("%1 hour(s) ago")).arg(seconds/3600) ; else - return QString(tr("%1 day(s) ago")).arg(seconds/86400) ; + return QString(QObject::tr("%1 day(s) ago")).arg(seconds/86400) ; } void IdDialog::insertIdDetails(uint32_t token)