@@ -355,8 +355,8 @@ void DSCTriageView::initCacheInfoTables()
355355 auto cacheInfoSubwidget = new QWidget;
356356
357357 auto mappingTable = new FilterableTableView (cacheInfoSubwidget);
358- m_mappingModel = new QStandardItemModel (0 , 4 , mappingTable);
359- m_mappingModel->setHorizontalHeaderLabels ({" Address" , " Size" , " File Address" , " File Path" });
358+ m_mappingModel = new QStandardItemModel (0 , 5 , mappingTable);
359+ m_mappingModel->setHorizontalHeaderLabels ({" Address" , " Size" , " File Address" , " File Name " , " File Path" });
360360
361361 // Apply custom column styling
362362 mappingTable->setItemDelegateForColumn (0 , new AddressColorDelegate (mappingTable));
@@ -366,7 +366,8 @@ void DSCTriageView::initCacheInfoTables()
366366 mappingTable->horizontalHeader ()->setSectionResizeMode (0 , QHeaderView::Fixed);
367367 mappingTable->horizontalHeader ()->setSectionResizeMode (1 , QHeaderView::Fixed);
368368 mappingTable->horizontalHeader ()->setSectionResizeMode (2 , QHeaderView::ResizeToContents);
369- mappingTable->horizontalHeader ()->setSectionResizeMode (3 , QHeaderView::Stretch);
369+ mappingTable->horizontalHeader ()->setSectionResizeMode (3 , QHeaderView::ResizeToContents);
370+ mappingTable->horizontalHeader ()->setSectionResizeMode (4 , QHeaderView::Stretch);
370371
371372 mappingTable->setEditTriggers (QAbstractItemView::NoEditTriggers);
372373
@@ -527,6 +528,7 @@ void DSCTriageView::RefreshData()
527528 new QStandardItem (QString (" 0x%1" ).arg (mapping.vmAddress , 0 , 16 )),
528529 new QStandardItem (QString (" 0x%1" ).arg (mapping.size , 0 , 16 )),
529530 new QStandardItem (QString (" 0x%1" ).arg (mapping.fileOffset , 0 , 16 )),
531+ new QStandardItem (QString::fromStdString (entry.name )),
530532 new QStandardItem (QString::fromStdString (entry.path ))
531533 });
532534 }
0 commit comments