mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-23 20:14:05 +00:00
QDomDocument changed the implementation of setContent
This commit is contained in:
parent
0cd1837ff2
commit
c2ff1e804f
|
@ -127,7 +127,7 @@ string convert( string const & in, DICT_TYPE type, map < string, string > const
|
|||
in_data += inConverted + "</div>";
|
||||
|
||||
|
||||
#if ( QT_VERSION < QT_VERSION_CHECK( 6, 0, 0 ) )
|
||||
#if ( QT_VERSION < QT_VERSION_CHECK( 6, 5, 0 ) )
|
||||
if ( !dd.setContent( QByteArray( in_data.c_str() ), false, &errorStr, &errorLine, &errorColumn ) ) {
|
||||
qWarning( "Xdxf2html error, xml parse failed: %s at %d,%d\n",
|
||||
errorStr.toLocal8Bit().constData(),
|
||||
|
|
Loading…
Reference in a new issue