forked from qt-creator/qt-creator
Debugger: Convert to Tr::tr
Change-Id: I5d2475c790851c68f9997ac6af72b5eaca58482d Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -2469,12 +2469,15 @@ void WatchModel::showEditValue(const WatchItem *item)
|
||||
if (size == nbytes) {
|
||||
std::memcpy(im.bits(), bits, nbytes);
|
||||
auto v = m_separatedView->prepareObject<ImageViewer>(item);
|
||||
v->setInfo(item->address ?
|
||||
Tr::tr("%1 Object at %2").arg(item->type, item->hexAddress()) :
|
||||
Tr::tr("%1 Object at Unknown Address").arg(item->type) + " " +
|
||||
ImageViewer::tr("Size: %1x%2, %3 byte, format: %4, depth: %5")
|
||||
.arg(width).arg(height).arg(nbytes).arg(im.format()).arg(im.depth())
|
||||
);
|
||||
v->setInfo(item->address
|
||||
? Tr::tr("%1 Object at %2").arg(item->type, item->hexAddress())
|
||||
: Tr::tr("%1 Object at Unknown Address").arg(item->type) + " "
|
||||
+ Tr::tr("Size: %1x%2, %3 byte, format: %4, depth: %5")
|
||||
.arg(width)
|
||||
.arg(height)
|
||||
.arg(nbytes)
|
||||
.arg(im.format())
|
||||
.arg(im.depth()));
|
||||
v->setImage(im);
|
||||
}
|
||||
} else if (format == DisplayLatin1String
|
||||
|
||||
Reference in New Issue
Block a user