GUI: Show also summary in the details pane.
Show both short summary and verbose message in lower details panel in the GUI: Add titles for short summary and message. Hopefully this makes it easier to read the messages and copy/paste them too.
This commit is contained in:
parent
2b8f6b9b56
commit
57a61a4a83
|
@ -282,6 +282,10 @@ void ResultsView::UpdateDetails(const QModelIndex &index)
|
|||
item = item->parent()->child(item->row(), 0);
|
||||
|
||||
QVariantMap data = item->data().toMap();
|
||||
QString message = data["message"].toString();
|
||||
mUI.mDetails->setText(message);
|
||||
const QString summary = data["summary"].toString();
|
||||
const QString message = data["message"].toString();
|
||||
const QString formattedMsg = QString("%1: %2\n%3: %4")
|
||||
.arg(tr("Summary")).arg(summary)
|
||||
.arg(tr("Message")).arg(message);
|
||||
mUI.mDetails->setText(formattedMsg);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue