Replaced various '#define' with actual strings - part 5

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/21/head
Michele Calgaro 5 months ago
parent f96a49ac58
commit 1a620eed38
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -200,7 +200,7 @@ void HTMLExporter::exportBasket(Basket *basket, bool isSubBasket)
TQFile file(basketFilePath);
if (!file.open(IO_WriteOnly))
return;
stream.setDevice(TQT_TQIODEVICE(&file));
stream.setDevice(&file);
stream.setEncoding(TQTextStream::UnicodeUTF8);
// Compute the colors to draw dragient for notes:

@ -773,7 +773,7 @@ bool ImageContent::finishLazyLoad()
TQBuffer buffer(content);
buffer.open(IO_ReadOnly);
m_format = (char* /* from const char* */)TQImageIO::imageFormat(TQT_TQIODEVICE(&buffer)); // See TQImageIO to know what formats can be supported.
m_format = (char* /* from const char* */)TQImageIO::imageFormat(&buffer); // See TQImageIO to know what formats can be supported.
buffer.close();
if (m_format) {
m_pixmap.loadFromData(content);

Loading…
Cancel
Save