From 4bfc4550d2e188ebd32d8aeeb0c30ed08acb13ed 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 --- tdeio/tdefile/kpropertiesdialog.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tdeio') diff --git a/tdeio/tdefile/kpropertiesdialog.cpp b/tdeio/tdefile/kpropertiesdialog.cpp index fdd72884e..0af252d1e 100644 --- a/tdeio/tdefile/kpropertiesdialog.cpp +++ b/tdeio/tdefile/kpropertiesdialog.cpp @@ -2997,7 +2997,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