Branch: master

744ba277 2014-07-25 22:28:50 Timothy Pearson
Prevent spurious translation warning from being emitted
M tdefile-plugins/desktop/tdefile_desktop.cpp
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 @@
         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",