Remove additional unneeded tq method conversions

pull/2/head
Timothy Pearson 13 years ago
parent f2d20e882b
commit bc4ffb59e3

@ -945,13 +945,13 @@ bool ClassGenerator::finishStreams(const TQString& baseName,
writeFileFooter(headerStream);
writeFileFooter(sourceStream);
TQIODevice* tqdevice = headerStream.tqdevice();
TQIODevice* device = headerStream.device();
headerStream.unsetDevice();
delete tqdevice;
delete device;
tqdevice = sourceStream.tqdevice();
device = sourceStream.device();
sourceStream.unsetDevice();
delete tqdevice;
delete device;
return true;
}

Loading…
Cancel
Save