diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-07-24 21:21:05 -0500 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2015-12-23 02:22:45 +0100 |
commit | e54f3e744ff9f269d2cfade5ed502fb6b193dec7 (patch) | |
tree | 0a09a3febb69232b0ba0704f06bb37769ddd5080 | |
parent | 909773f4a46197e655d63910d3f04546403cde9a (diff) | |
download | tdelibs-e54f3e744ff9f269d2cfade5ed502fb6b193dec7.tar.gz tdelibs-e54f3e744ff9f269d2cfade5ed502fb6b193dec7.zip |
Prevent spurious translation warning from being emitted
This relates to Bug 2076
(cherry picked from commit 4bfc4550d2e188ebd32d8aeeb0c30ed08acb13ed)
-rw-r--r-- | kio/kfile/kpropertiesdialog.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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() ) { |