Fix FTBFS with GCC6

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/1/head
Slávek Banko 8 years ago
parent 3c07b10670
commit d01e804f0f

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