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 7 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 );
if ( !f.open( IO_ReadOnly ) )
return false;
return 0;
//clearLabel();
TQDomDocument doc( "KBarcodeLabel" );
if ( !doc.setContent( &f ) ) {
f.close();
return false;
return 0;
}
f.close();

Loading…
Cancel
Save