summaryrefslogtreecommitdiffstats
path: root/tdeio/tdefile/kpropertiesdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdeio/tdefile/kpropertiesdialog.cpp')
-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() ) {