Branch: master

4bfc4550 2014-07-24 21:21:05 Timothy Pearson
Prevent spurious translation warning from being emitted
This relates to Bug 2076
M tdeio/tdefile/kpropertiesdialog.cpp
diff --git a/tdeio/tdefile/kpropertiesdialog.cpp b/tdeio/tdefile/kpropertiesdialog.cpp
index fdd7288..0af252d 100644
--- a/tdeio/tdefile/kpropertiesdialog.cpp
+++ b/tdeio/tdefile/kpropertiesdialog.cpp
@@ -2997,7 +2997,8 @@
   bool ro = config.readBoolEntry( "ReadOnly", false );
   TQString unmountedStr = config.readEntry( "UnmountIcon" );
 
-  fileSystem->setText( i18n(config.readEntry("FSType").local8Bit()) );
+  TQString fsType = config.readEntry("FSType");
+  fileSystem->setText( (fsType.stripWhiteSpace() != "") ? i18n(config.readEntry("FSType").local8Bit()) : "" );
 
   device->setEditText( deviceStr );
   if ( !deviceStr.isEmpty() ) {