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 19:01:14 +0200 |
commit | 3ac84fc2f49431a8c6a13d667d01da5d0760aa06 (patch) | |
tree | abcf855afdd74d512bd80a13e1fedf3981cbd2c7 /qtruby/rubylib/designer | |
parent | 2fb1ae310058ed5e5fea2f3076580ee4449a24f4 (diff) | |
download | tdebindings-3ac84fc2f49431a8c6a13d667d01da5d0760aa06.tar.gz tdebindings-3ac84fc2f49431a8c6a13d667d01da5d0760aa06.zip |
Use tqWaring call in printf style, instead of joining TQString.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit a62663c5fdfe5093a2a720e31b55cef3de707e6a)
Diffstat (limited to 'qtruby/rubylib/designer')
-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 aa33f2c8..fa402bb5 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 |