summaryrefslogtreecommitdiffstats
path: root/pytqlupdate3/metatranslator.cpp
diff options
context:
space:
mode:
authorFrançois Andriot <francois.andriot@free.fr>2023-04-10 13:50:22 +0200
committerFrançois Andriot <francois.andriot@free.fr>2023-04-10 18:17:16 +0200
commitf4a39d2fde3ef72e32b296fdd783b31d4abfcb76 (patch)
tree2c22e977965936cac0ef38ebdcb36e1087f5f535 /pytqlupdate3/metatranslator.cpp
parent4feca443fb45a87fa971fe7f24c9dd3128643c19 (diff)
downloadpytqt-f4a39d2fde3ef72e32b296fdd783b31d4abfcb76.tar.gz
pytqt-f4a39d2fde3ef72e32b296fdd783b31d4abfcb76.zip
This happens en RHEL7 (gcc 4.8.5) but not on later distributions.r14.1.0
Signed-off-by: François Andriot <francois.andriot@free.fr>
Diffstat (limited to 'pytqlupdate3/metatranslator.cpp')
-rw-r--r--pytqlupdate3/metatranslator.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/pytqlupdate3/metatranslator.cpp b/pytqlupdate3/metatranslator.cpp
index f46ee9a..18b2b0d 100644
--- a/pytqlupdate3/metatranslator.cpp
+++ b/pytqlupdate3/metatranslator.cpp
@@ -173,9 +173,9 @@ bool TsHandler::fatalError( const TQXmlParseException& exception )
TQString msg;
msg.sprintf( "Parse error at line %d, column %d (%s).",
exception.lineNumber(), exception.columnNumber(),
- exception.message().utf8() );
+ exception.message().utf8().data() );
if ( tqApp == 0 )
- tqWarning( "XML error: %s", msg.utf8() );
+ tqWarning( "XML error: %s", msg.local8Bit().data() );
else
TQMessageBox::information( tqApp->mainWidget(),
TQObject::tr("TQt Linguist"), msg );