diff options
Diffstat (limited to 'pylupdate3/fetchtr.cpp')
-rw-r--r-- | pylupdate3/fetchtr.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pylupdate3/fetchtr.cpp b/pylupdate3/fetchtr.cpp index c21fcff..96978cd 100644 --- a/pylupdate3/fetchtr.cpp +++ b/pylupdate3/fetchtr.cpp @@ -262,7 +262,7 @@ static int getToken() if ( yyCh != quoteChar ) { printf("%c\n", yyCh); - qWarning( "%s:%d: Unterminated string", + tqWarning( "%s:%d: Unterminated string", (const char *) yyFileName, yyLineNo ); } @@ -434,7 +434,7 @@ static void parse( MetaTranslator *tor, const char *initialContext, } if ( yyParenDepth != 0 ) - qWarning( "%s: Unbalanced parentheses in Python code", + tqWarning( "%s: Unbalanced parentheses in Python code", (const char *) yyFileName ); } @@ -444,7 +444,7 @@ void fetchtr_py( const char *fileName, MetaTranslator *tor, yyInFile = fopen( fileName, "r" ); if ( yyInFile == 0 ) { if ( mustExist ) - qWarning( "pylupdate error: cannot open Python source file '%s': %s", + tqWarning( "pylupdate error: cannot open Python source file '%s': %s", fileName, strerror(errno) ); return; } |