diff options
author | Timothy Pearson <[email protected]> | 2012-03-02 02:11:59 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2012-03-02 02:11:59 -0600 |
commit | 9a75b154bf0732aa3a501b6e31e566e06c5f8a31 (patch) | |
tree | df1e10cc7504665622d096f9ba80dc9e56f3afb8 /tools/designer/editor/yyindent.cpp | |
parent | a830bf10b7d4ed2c83ffe68c0b22d7c4ba9860b0 (diff) | |
download | qt3-9a75b154bf0732aa3a501b6e31e566e06c5f8a31.tar.gz qt3-9a75b154bf0732aa3a501b6e31e566e06c5f8a31.zip |
Undo prior accidental commit
Diffstat (limited to 'tools/designer/editor/yyindent.cpp')
-rw-r--r-- | tools/designer/editor/yyindent.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/designer/editor/yyindent.cpp b/tools/designer/editor/yyindent.cpp index 3493dac..df9a78f 100644 --- a/tools/designer/editor/yyindent.cpp +++ b/tools/designer/editor/yyindent.cpp @@ -1115,7 +1115,7 @@ static QString fileContents( const QString& fileName ) { QFile f( fileName ); if ( !f.open(IO_ReadOnly) ) { - tqWarning( "yyindent error: Cannot open file '%s' for reading: %s", + qWarning( "yyindent error: Cannot open file '%s' for reading: %s", fileName.latin1(), strerror(errno) ); return QString::null; } @@ -1124,14 +1124,14 @@ static QString fileContents( const QString& fileName ) QString contents = t.read(); f.close(); if ( contents.isEmpty() ) - tqWarning( "yyindent error: File '%s' is empty", fileName.latin1() ); + qWarning( "yyindent error: File '%s' is empty", fileName.latin1() ); return contents; } int main( int argc, char **argv ) { if ( argc != 2 ) { - tqWarning( "usage: yyindent file.cpp" ); + qWarning( "usage: yyindent file.cpp" ); return 1; } |