Fix FTBFS with GCC6

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit d01e804f0f)
r14.0.x r14.0.4
Slávek Banko 8 years ago
parent 56341c9cdb
commit d3b51c2644

@ -67,14 +67,14 @@ TQString tec452(const TQString &url, int count, const TQString &art, const TQStr
TQFile f( filename ); TQFile f( filename );
if ( !f.open( IO_ReadOnly ) ) if ( !f.open( IO_ReadOnly ) )
return false; return 0;
//clearLabel(); //clearLabel();
TQDomDocument doc( "KBarcodeLabel" ); TQDomDocument doc( "KBarcodeLabel" );
if ( !doc.setContent( &f ) ) { if ( !doc.setContent( &f ) ) {
f.close(); f.close();
return false; return 0;
} }
f.close(); f.close();

Loading…
Cancel
Save