summaryrefslogtreecommitdiffstats
path: root/qtruby/rubylib
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2021-09-05 18:54:40 +0200
committerSlávek Banko <slavek.banko@axis.cz>2021-09-05 18:54:40 +0200
commita62663c5fdfe5093a2a720e31b55cef3de707e6a (patch)
treea57469168425a3d87d311b56cd57d32918d0eeb4 /qtruby/rubylib
parentfbc21ffa80968bbdc9ef720ec5faffe2ab8b3d4b (diff)
downloadtdebindings-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.cpp2
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