removed extension .wgs and .swf when showing the name on UBFeature widget

preferencesAboutTextFull
Claudio Valerio 12 years ago
parent d6df46fe63
commit 87b695031f
  1. 2
      src/gui/UBFeaturesWidget.cpp

@ -1457,6 +1457,8 @@ QString UBFeaturesItemDelegate::displayText ( const QVariant & value, const QLoc
QString text = value.toString(); QString text = value.toString();
text = text.replace(".wgt", ""); text = text.replace(".wgt", "");
text = text.replace(".wgs", "");
text = text.replace(".swf","");
if (listView) if (listView)
{ {
const QFontMetrics fm = listView->fontMetrics(); const QFontMetrics fm = listView->fontMetrics();

Loading…
Cancel
Save