summaryrefslogtreecommitdiff
path: root/src/history
diff options
context:
space:
mode:
Diffstat (limited to 'src/history')
-rw-r--r--src/history/historymodels.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/history/historymodels.cpp b/src/history/historymodels.cpp
index 76b504d3..3c846d2f 100644
--- a/src/history/historymodels.cpp
+++ b/src/history/historymodels.cpp
@@ -155,9 +155,9 @@ QVariant HistoryModel::data(const QModelIndex &index, int role) const
int visitCount = item.visitCount;
tooltip += QL1S("<center> <b>") + item.url + QL1S("</b> </center>");
tooltip += QL1S("<hr/>");
- tooltip += i18n("First Visit: ") + firstVisit + QL1S("<br/>");
- tooltip += i18n("Last Visit: ") + lastVisit + QL1S("<br/>");
- tooltip += i18n("Number of Visits: ") + QString::number(visitCount);
+ tooltip += i18n("First Visit: %1", firstVisit) + QL1S("<br/>");
+ tooltip += i18n("Last Visit: %1", lastVisit) + QL1S("<br/>");
+ tooltip += i18n("Number of Visits: %1", QString::number(visitCount));
return tooltip;
}