diff --git a/profiler_gui/descriptors_tree_widget.cpp b/profiler_gui/descriptors_tree_widget.cpp index bba73a9..33d514f 100644 --- a/profiler_gui/descriptors_tree_widget.cpp +++ b/profiler_gui/descriptors_tree_widget.cpp @@ -394,7 +394,7 @@ void EasyDescTreeWidget::build() if (p.item == nullptr) { p.item = new QTreeWidgetItem(); - p.item->setText(DESC_COL_FILE_LINE, desc->file()); + p.item->setText(DESC_COL_FILE_LINE, QString(desc->file()).remove(QRegExp("^(\\.{2}\\\\+|\\/+)+"))); p.item->setText(DESC_COL_TYPE, "F"); p.item->setToolTip(DESC_COL_TYPE, "File"); }