summaryrefslogtreecommitdiff
path: root/src/history
diff options
context:
space:
mode:
Diffstat (limited to 'src/history')
-rw-r--r--src/history/historymodels.cpp2
-rw-r--r--src/history/historypanel.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/history/historymodels.cpp b/src/history/historymodels.cpp
index 887a6f5c..e68eac42 100644
--- a/src/history/historymodels.cpp
+++ b/src/history/historymodels.cpp
@@ -696,7 +696,7 @@ QVariant HistoryTreeModel::data(const QModelIndex &index, int role) const
QDate date = idx.data(HistoryModel::DateRole).toDate();
if (date == QDate::currentDate())
return i18n("Earlier Today");
- return date.toString(QLatin1String("dddd, MMMM d, yyyy"));
+ return date.toString(QL1S("dddd, MMMM d, yyyy"));
}
if (index.column() == 1)
{
diff --git a/src/history/historypanel.cpp b/src/history/historypanel.cpp
index cc2909e7..4c4982e9 100644
--- a/src/history/historypanel.cpp
+++ b/src/history/historypanel.cpp
@@ -111,7 +111,7 @@ void HistoryPanel::setup()
m_treeView->setExpanded(treeProxyModel->index(0, 0), true);
m_treeView->header()->hideSection(1);
QFontMetrics fm(font());
- int header = fm.width(QLatin1Char('m')) * 40;
+ int header = fm.width( QL1C('m') ) * 40;
m_treeView->header()->resizeSection(0, header);
connect(search, SIGNAL(textChanged(QString)), treeProxyModel, SLOT(setFilterFixedString(QString)));