Commit 1fc03107 authored by Fawzi Mohamed's avatar Fawzi Mohamed Committed by Eike Ziller

debugger: compile fix

change QStringRef+QLatin1String to QString+QLatin1String
to compile with Qt 5.3.1 (on mac) and Qt 4

Change-Id: I37da7bdbb6185639f90232bc8554c79535692d07
Reviewed-by: default avatarEike Ziller <eike.ziller@digia.com>
parent e3686999
......@@ -1076,7 +1076,7 @@ QString WatchModel::displayName(const WatchItem *item) const
if (result.startsWith(QLatin1Char('['))) {
result = simplifyType(result);
if (result.size() > 30)
result = result.leftRef(27) + QLatin1String("...]");
result = result.left(27) + QLatin1String("...]");
}
return result;
......
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