Commit b2760bf2 authored by Robert Loehning's avatar Robert Loehning Committed by Robert Löhning

Replaced one-char-strings

Change-Id: I873606e5a5cd92c0987bc89bd2bfa085a384b797
Reviewed-by: default avatarEike Ziller <eike.ziller@nokia.com>
parent be4adfac
......@@ -1680,7 +1680,7 @@ void QmlProfilerEventList::load()
// find v8events' children and parents
foreach (int parentIndex, childrenIndexes.keys()) {
QStringList childrenStrings = childrenIndexes.value(parentIndex).split(",");
QStringList childrenStrings = childrenIndexes.value(parentIndex).split(QLatin1Char(','));
QStringList childrenTimesStrings = childrenTimes.value(parentIndex).split(", ");
QStringList parentTimesStrings = parentTimes.value(parentIndex).split(", ");
for (int ndx = 0; ndx < childrenStrings.count(); ndx++) {
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment