summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kio/kfile/kpropertiesdialog.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/kio/kfile/kpropertiesdialog.cpp b/kio/kfile/kpropertiesdialog.cpp
index 29eee9c34..686af0328 100644
--- a/kio/kfile/kpropertiesdialog.cpp
+++ b/kio/kfile/kpropertiesdialog.cpp
@@ -2995,7 +2995,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() ) {