summaryrefslogtreecommitdiffstats
path: root/tdefile-plugins/desktop
diff options
context:
space:
mode:
Diffstat (limited to 'tdefile-plugins/desktop')
-rw-r--r--tdefile-plugins/desktop/tdefile_desktop.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tdefile-plugins/desktop/tdefile_desktop.cpp b/tdefile-plugins/desktop/tdefile_desktop.cpp
index 993c628..1804ade 100644
--- a/tdefile-plugins/desktop/tdefile_desktop.cpp
+++ b/tdefile-plugins/desktop/tdefile_desktop.cpp
@@ -89,7 +89,8 @@ bool KDotDesktopPlugin::readInfo( KFileMetaInfo& info, uint )
s = file.readEntry("MountPoint");
if (!s.isEmpty()) appendItem(group, "Mount Point", s);
- s = i18n(file.readEntry("FSType").local8Bit());
+ TQString fsType = file.readEntry("FSType");
+ s = ((fsType.stripWhiteSpace() != "") ? i18n(fsType.local8Bit()) : "");
if (!s.isEmpty()) appendItem(group, "File System", s);
appendItem(group, "Writable",