diff options
author | Michele Calgaro <[email protected]> | 2023-12-03 00:36:20 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-12-03 16:24:21 +0900 |
commit | 1a620eed38cfa429508f6ac347e09a694b4adf16 (patch) | |
tree | 9c704578873ad1daf1b4cd8d9a056991d99b2f17 | |
parent | f96a49ac585eae4bc960a7f722c95d58efd17699 (diff) | |
download | basket-1a620eed38cfa429508f6ac347e09a694b4adf16.tar.gz basket-1a620eed38cfa429508f6ac347e09a694b4adf16.zip |
Replaced various '#define' with actual strings - part 5
Signed-off-by: Michele Calgaro <[email protected]>
-rw-r--r-- | src/htmlexporter.cpp | 2 | ||||
-rw-r--r-- | src/notecontent.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/htmlexporter.cpp b/src/htmlexporter.cpp index a81c13f..413220b 100644 --- a/src/htmlexporter.cpp +++ b/src/htmlexporter.cpp @@ -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: diff --git a/src/notecontent.cpp b/src/notecontent.cpp index ef01cb9..c3629f6 100644 --- a/src/notecontent.cpp +++ b/src/notecontent.cpp @@ -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); |