diff options
| author | Fawzi Mohamed <fawzi.mohamed@digia.com> | 2014-07-03 13:49:46 +0200 |
|---|---|---|
| committer | Eike Ziller <eike.ziller@digia.com> | 2014-07-03 17:05:08 +0200 |
| commit | 1fc03107f3cd5ddddb6eb2fe49c3b6d1c48fffbb (patch) | |
| tree | 4db5f3cb8e3c770f4c816dfb5f908d412af35d32 | |
| parent | e36869999963cc85550bb313203c197239894a56 (diff) | |
| download | qt-creator-1fc03107f3cd5ddddb6eb2fe49c3b6d1c48fffbb.tar.gz | |
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: Eike Ziller <eike.ziller@digia.com>
| -rw-r--r-- | src/plugins/debugger/watchhandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/debugger/watchhandler.cpp b/src/plugins/debugger/watchhandler.cpp index ad9c6cb210..6c8717ca8d 100644 --- a/src/plugins/debugger/watchhandler.cpp +++ b/src/plugins/debugger/watchhandler.cpp @@ -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; |
