From 87b695031f647fb0872c1a7596f4049cbe402f25 Mon Sep 17 00:00:00 2001 From: Claudio Valerio Date: Thu, 1 Nov 2012 18:03:02 +0100 Subject: [PATCH] removed extension .wgs and .swf when showing the name on UBFeature widget --- src/gui/UBFeaturesWidget.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gui/UBFeaturesWidget.cpp b/src/gui/UBFeaturesWidget.cpp index 5e83aee3..f16ba111 100644 --- a/src/gui/UBFeaturesWidget.cpp +++ b/src/gui/UBFeaturesWidget.cpp @@ -1457,6 +1457,8 @@ QString UBFeaturesItemDelegate::displayText ( const QVariant & value, const QLoc QString text = value.toString(); text = text.replace(".wgt", ""); + text = text.replace(".wgs", ""); + text = text.replace(".swf",""); if (listView) { const QFontMetrics fm = listView->fontMetrics();