summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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