|
|
@ -173,9 +173,9 @@ bool TsHandler::fatalError( const TQXmlParseException& exception )
|
|
|
|
TQString msg;
|
|
|
|
TQString msg;
|
|
|
|
msg.sprintf( "Parse error at line %d, column %d (%s).",
|
|
|
|
msg.sprintf( "Parse error at line %d, column %d (%s).",
|
|
|
|
exception.lineNumber(), exception.columnNumber(),
|
|
|
|
exception.lineNumber(), exception.columnNumber(),
|
|
|
|
exception.message().utf8() );
|
|
|
|
exception.message().utf8().data() );
|
|
|
|
if ( tqApp == 0 )
|
|
|
|
if ( tqApp == 0 )
|
|
|
|
tqWarning( "XML error: %s", msg.utf8() );
|
|
|
|
tqWarning( "XML error: %s", msg.local8Bit().data() );
|
|
|
|
else
|
|
|
|
else
|
|
|
|
TQMessageBox::information( tqApp->mainWidget(),
|
|
|
|
TQMessageBox::information( tqApp->mainWidget(),
|
|
|
|
TQObject::tr("TQt Linguist"), msg );
|
|
|
|
TQObject::tr("TQt Linguist"), msg );
|
|
|
|