diff options
Diffstat (limited to 'src/history/historymodels.cpp')
-rw-r--r-- | src/history/historymodels.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/history/historymodels.cpp b/src/history/historymodels.cpp index 79235b1f..887a6f5c 100644 --- a/src/history/historymodels.cpp +++ b/src/history/historymodels.cpp @@ -149,8 +149,8 @@ QVariant HistoryModel::data(const QModelIndex &index, int role) const case Qt::ToolTipRole: QString tooltip = ""; if (!item.title.isEmpty()) - tooltip = item.title + "\n"; - tooltip += item.dateTime.toString(Qt::SystemLocaleShortDate) + "\n" + item.url; + tooltip = item.title + '\n'; + tooltip += item.dateTime.toString(Qt::SystemLocaleShortDate) + '\n' + item.url; return tooltip; } return QVariant(); |