Use tqWaring call in printf style, instead of joining TQString.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/10/head
Slávek Banko 3 years ago
parent fbc21ffa80
commit a62663c5fd
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -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

Loading…
Cancel
Save