summaryrefslogtreecommitdiff
path: root/src/history
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-04-30 18:08:25 +0200
committerAndrea Diamantini <adjam7@gmail.com>2010-04-30 18:08:25 +0200
commit54e258db126292e0f11201095e1f5b67b00e9833 (patch)
tree79b840b5f95ad0b741da2bc6911a1bcabf381621 /src/history
parentrekonq 0.4.66 (diff)
downloadrekonq-54e258db126292e0f11201095e1f5b67b00e9833.tar.xz
QLatin1String -> QL1S
added cppcheck script
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)));