summaryrefslogtreecommitdiff
path: root/src/plugins/valgrind/callgrind/callgrinddatamodel.cpp
diff options
context:
space:
mode:
authorRobert Loehning <robert.loehning@nokia.com>2012-03-14 15:24:07 +0100
committerRobert Löhning <robert.loehning@nokia.com>2012-03-15 12:05:07 +0100
commitb2760bf2efed28cf2c2c93fbf1528ddfa473acf5 (patch)
treeefeff903aea3be8a8642b460fa8973800d550997 /src/plugins/valgrind/callgrind/callgrinddatamodel.cpp
parentbe4adfac23a8ca73fa7290a529cad50a08b1a5d5 (diff)
downloadqt-creator-b2760bf2efed28cf2c2c93fbf1528ddfa473acf5.tar.gz
Replaced one-char-strings
Change-Id: I873606e5a5cd92c0987bc89bd2bfa085a384b797 Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
Diffstat (limited to 'src/plugins/valgrind/callgrind/callgrinddatamodel.cpp')
-rw-r--r--src/plugins/valgrind/callgrind/callgrinddatamodel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/valgrind/callgrind/callgrinddatamodel.cpp b/src/plugins/valgrind/callgrind/callgrinddatamodel.cpp
index 7f93b77767..bde533c272 100644
--- a/src/plugins/valgrind/callgrind/callgrinddatamodel.cpp
+++ b/src/plugins/valgrind/callgrind/callgrinddatamodel.cpp
@@ -212,7 +212,7 @@ QModelIndex DataModel::indexForObject(const Function *function) const
static QString noWrap(const QString &str)
{
QString escapedStr = str;
- return escapedStr.replace("-", "&#8209;");
+ return escapedStr.replace(QLatin1Char('-'), "&#8209;");
}
QVariant DataModel::data(const QModelIndex &index, int role) const