summaryrefslogtreecommitdiffstats
path: root/kolourpaint/kpdocument.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-12-03 00:48:24 +0900
committerMichele Calgaro <[email protected]>2023-12-05 11:58:00 +0900
commitc9e40417ac00954826c50f8f6579639255c46476 (patch)
tree09214c65532ed685a0f1ead2dbb36da3536a9986 /kolourpaint/kpdocument.cpp
parent1fe6cb7fd446f44bb4d5d6074708c066eb1620b2 (diff)
downloadtdegraphics-c9e40417ac00954826c50f8f6579639255c46476.tar.gz
tdegraphics-c9e40417ac00954826c50f8f6579639255c46476.zip
Replaced various '#define' with actual strings - part 5
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 3849f5c32c10eba032a6738fd47331c0fa6afe1c)
Diffstat (limited to 'kolourpaint/kpdocument.cpp')
-rw-r--r--kolourpaint/kpdocument.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kolourpaint/kpdocument.cpp b/kolourpaint/kpdocument.cpp
index 018dbb9c..2ba20cc3 100644
--- a/kolourpaint/kpdocument.cpp
+++ b/kolourpaint/kpdocument.cpp
@@ -686,7 +686,7 @@ bool kpDocument::savePixmapToFile (const TQPixmap &pixmap,
}
// Write to local temporary file.
- if (!savePixmapToDevice (pixmap, TQT_TQIODEVICE(atomicFileWriter.file ()),
+ if (!savePixmapToDevice (pixmap, atomicFileWriter.file (),
saveOptions, metaInfo,
false/*no lossy prompt*/,
parent))
@@ -746,7 +746,7 @@ bool kpDocument::savePixmapToFile (const TQPixmap &pixmap,
return false;
}
- if (!savePixmapToDevice (pixmap, TQT_TQIODEVICE(&file),
+ if (!savePixmapToDevice (pixmap, &file,
saveOptions, metaInfo,
false/*no lossy prompt*/,
parent))