Prevent spurious translation warning from being emitted

This relates to Bug 2076
(cherry picked from commit 4bfc4550d2)
v3.5.13-sru
Timothy Pearson 10 years ago committed by Slávek Banko
parent 909773f4a4
commit e54f3e744f

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

Loading…
Cancel
Save