summaryrefslogtreecommitdiffstats
path: root/tdeio
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-07-24 21:21:05 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-07-24 21:21:05 -0500
commit4bfc4550d2e188ebd32d8aeeb0c30ed08acb13ed (patch)
tree15802de7a3a415461c5dbd09829809fe51cc5b7f /tdeio
parente3db584672f9ec310836dada13c4ae58f3f5c3a7 (diff)
downloadtdelibs-4bfc4550d2e188ebd32d8aeeb0c30ed08acb13ed.tar.gz
tdelibs-4bfc4550d2e188ebd32d8aeeb0c30ed08acb13ed.zip
Prevent spurious translation warning from being emitted
This relates to Bug 2076
Diffstat (limited to 'tdeio')
-rw-r--r--tdeio/tdefile/kpropertiesdialog.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tdeio/tdefile/kpropertiesdialog.cpp b/tdeio/tdefile/kpropertiesdialog.cpp
index fdd72884e..0af252d1e 100644
--- a/tdeio/tdefile/kpropertiesdialog.cpp
+++ b/tdeio/tdefile/kpropertiesdialog.cpp
@@ -2997,7 +2997,8 @@ KDevicePropsPlugin::KDevicePropsPlugin( KPropertiesDialog *_props ) : KPropsDlgP
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() ) {