summaryrefslogtreecommitdiffstats
path: root/tdefile-plugins
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-07-25 22:28:50 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-07-25 22:28:50 -0500
commit744ba277e9405dbac8c35e4aa86eb60f8303f8b6 (patch)
treea860862f01a7df804f4141ed08a715471aeeeb06 /tdefile-plugins
parentca8286c78cf25f3fe474a4c648df9d59dcdd4148 (diff)
downloadtdeaddons-744ba277e9405dbac8c35e4aa86eb60f8303f8b6.tar.gz
tdeaddons-744ba277e9405dbac8c35e4aa86eb60f8303f8b6.zip
Prevent spurious translation warning from being emitted
Diffstat (limited to 'tdefile-plugins')
-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",