diff options
author | Michele Calgaro <[email protected]> | 2023-12-03 00:34:45 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-12-03 14:59:47 +0900 |
commit | 12a1ec2b37308b1600be67f3c4ce2658a19e687d (patch) | |
tree | 8718d387daa8328d1fd1af3d4a981d152f70e685 | |
parent | c0011af8f156d637d033318182951439e24c1479 (diff) | |
download | ktechlab-12a1ec2b37308b1600be67f3c4ce2658a19e687d.tar.gz ktechlab-12a1ec2b37308b1600be67f3c4ce2658a19e687d.zip |
Replaced various '#define' with actual strings - part 5
Signed-off-by: Michele Calgaro <[email protected]>
-rw-r--r-- | src/itemdocument.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/itemdocument.cpp b/src/itemdocument.cpp index 7ed27dd..a8dc42b 100644 --- a/src/itemdocument.cpp +++ b/src/itemdocument.cpp @@ -881,12 +881,12 @@ void ItemDocument::exportToImage() saveArea = m_canvas->rect(); if ( type == "PNG" || type == "BMP" ) - outputImage = TQT_TQPAINTDEVICE(new TQPixmap( saveArea.size() )); + outputImage = new TQPixmap( saveArea.size() ); else if ( type == "SVG" ) { setSVGExport(true); - outputImage = TQT_TQPAINTDEVICE(new TQPicture()); + outputImage = new TQPicture(); // svg can't be cropped using the qimage method. saveArea = cropArea; } |