Prevent spurious translation warning from being emitted

This relates to Bug 2076
pull/16/head
Timothy Pearson 10 years ago
parent e3db584672
commit 4bfc4550d2

@ -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() ) {

Loading…
Cancel
Save