forked from qt-creator/qt-creator
Debugger: Don't limit length of displayed string-ish keys
Any restriction should done on the python side. Change-Id: I09523aa8a3b0256ec0468416bc823353d5b011ea Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
@@ -665,13 +665,7 @@ void parseWatchData(const QSet<QByteArray> &expandedINames,
|
||||
QByteArray key = child["key"].data();
|
||||
if (!key.isEmpty()) {
|
||||
int encoding = child["keyencoded"].toInt();
|
||||
QString skey = decodeData(key, encoding);
|
||||
if (skey.size() > 13) {
|
||||
skey = skey.left(12);
|
||||
skey += QLatin1String("...");
|
||||
}
|
||||
//data1.name += " (" + skey + ")";
|
||||
data1.name = skey;
|
||||
data1.name = decodeData(key, encoding);
|
||||
}
|
||||
parseWatchData(expandedINames, data1, child, list);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user