Fixed FTBFS with c++11 on gcc 4.8.4.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/10/head
Michele Calgaro 3 years ago
parent d44901d124
commit e607f28f7e
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

1017
'

File diff suppressed because it is too large Load Diff

@ -241,7 +241,7 @@ void Uic::createFormImpl( const TQDomElement &e )
// children // children
if( !objectNames.isEmpty() ) if( !objectNames.isEmpty() )
tqWarning("WARNING : objectNames should be empty at "__FILE__" line %d\n", __LINE__); tqWarning(TQString("WARNING : objectNames should be empty at ") + __FILE__ + " line " + __LINE__);
nl = e.parentNode().toElement().elementsByTagName( "widget" ); nl = e.parentNode().toElement().elementsByTagName( "widget" );
for ( i = 1; i < (int) nl.length(); i++ ) for ( i = 1; i < (int) nl.length(); i++ )
{ // start at 1, 0 is the toplevel widget { // start at 1, 0 is the toplevel widget

Loading…
Cancel
Save