From e54f3e744ff9f269d2cfade5ed502fb6b193dec7 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 24 Jul 2014 21:21:05 -0500 Subject: Prevent spurious translation warning from being emitted This relates to Bug 2076 (cherry picked from commit 4bfc4550d2e188ebd32d8aeeb0c30ed08acb13ed) --- kio/kfile/kpropertiesdialog.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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() ) { -- cgit v1.2.1