From 230ed5e400ea4276d927570a7781cfcb5c7a534a Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Tue, 25 Sep 2018 20:57:27 +0900 Subject: Always build with a clean namespace QT_CLEAN_NAMESPACE constant is no more needed MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This may theoretically affect applications created for Qt1 and Qt2, but such applications require further modifications as well. --------------------------- Cherry picked and adapted from commit ff63338d in tqt3 from Slávek Banko Signed-off-by: Michele Calgaro --- tools/msg2qm/msg2qm.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools/msg2qm/msg2qm.cpp') diff --git a/tools/msg2qm/msg2qm.cpp b/tools/msg2qm/msg2qm.cpp index 6ac8c36..d90d7b6 100644 --- a/tools/msg2qm/msg2qm.cpp +++ b/tools/msg2qm/msg2qm.cpp @@ -192,10 +192,10 @@ void translate( const QString& filename, const QString& qmfile ) QString charset = msgstr.mid( cpos, i-cpos ); codec = QTextCodec::codecForName( charset.ascii() ); if ( codec ) { - debug( "PO file character set: %s. Codec: %s", + qDebug( "PO file character set: %s. Codec: %s", charset.ascii(), codec->name() ); } else { - debug( "No codec for %s", charset.ascii() ); + qDebug( "No codec for %s", charset.ascii() ); } } break; -- cgit v1.2.3