summaryrefslogtreecommitdiffstats
path: root/tdeio
diff options
context:
space:
mode:
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() ) {