diff --git a/src/dict/mdictparser.cc b/src/dict/mdictparser.cc index 4a49047a..42f3f807 100644 --- a/src/dict/mdictparser.cc +++ b/src/dict/mdictparser.cc @@ -372,7 +372,7 @@ bool MdictParser::readHeader( QDataStream & in ) // Read metadata rtl_ = headerAttributes.namedItem( "Left2Right" ).toAttr().value() != "Yes"; QString title = headerAttributes.namedItem( "Title" ).toAttr().value(); - if ( title.isEmpty() ) { + if ( title.isEmpty() || title == "Title (No HTML code allowed)" ) { // Use filename instead QFileInfo fi( filename_ ); title_ = fi.baseName();