From 54e258db126292e0f11201095e1f5b67b00e9833 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Fri, 30 Apr 2010 18:08:25 +0200 Subject: QLatin1String -> QL1S added cppcheck script --- src/history/historypanel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/history/historypanel.cpp') 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))); -- cgit v1.2.1