diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2021-09-05 18:54:40 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2021-09-05 18:54:40 +0200 |
commit | a62663c5fdfe5093a2a720e31b55cef3de707e6a (patch) | |
tree | a57469168425a3d87d311b56cd57d32918d0eeb4 /qtruby/rubylib | |
parent | fbc21ffa80968bbdc9ef720ec5faffe2ab8b3d4b (diff) | |
download | tdebindings-a62663c5fdfe5093a2a720e31b55cef3de707e6a.tar.gz tdebindings-a62663c5fdfe5093a2a720e31b55cef3de707e6a.zip |
Use tqWaring call in printf style, instead of joining TQString.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'qtruby/rubylib')
-rw-r--r-- | qtruby/rubylib/designer/rbuic/form.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qtruby/rubylib/designer/rbuic/form.cpp b/qtruby/rubylib/designer/rbuic/form.cpp index cff86471..45aa9435 100644 --- a/qtruby/rubylib/designer/rbuic/form.cpp +++ b/qtruby/rubylib/designer/rbuic/form.cpp @@ -241,7 +241,7 @@ void Uic::createFormImpl( const TQDomElement &e ) // children if( !objectNames.isEmpty() ) - tqWarning(TQString("WARNING : objectNames should be empty at ") + __FILE__ + " line " + __LINE__); + tqWarning("WARNING : objectNames should be empty at %s line %d", __FILE__, __LINE__); nl = e.parentNode().toElement().elementsByTagName( "widget" ); for ( i = 1; i < (int) nl.length(); i++ ) { // start at 1, 0 is the toplevel widget |