summaryrefslogtreecommitdiffstats
path: root/src/imageutils/croppedqimage.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-18 16:33:02 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-19 23:48:47 +0900
commitd2998fbc2b984de32712fde6280eff2643fb14ff (patch)
treef776ef8e45b106f8ab3a2c9ef8d00a8dbcc83fb7 /src/imageutils/croppedqimage.cpp
parent36bde20b9b47da4cd78cfda70b6e6b0c7385b7cf (diff)
downloadgwenview-d2998fbc2b984de32712fde6280eff2643fb14ff.tar.gz
gwenview-d2998fbc2b984de32712fde6280eff2643fb14ff.zip
Replace various strings '#define'd in tqtinterface
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 9819dffc57bc205b261e702018579949c5c2f73b)
Diffstat (limited to 'src/imageutils/croppedqimage.cpp')
-rw-r--r--src/imageutils/croppedqimage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/imageutils/croppedqimage.cpp b/src/imageutils/croppedqimage.cpp
index 7f47366..8133074 100644
--- a/src/imageutils/croppedqimage.cpp
+++ b/src/imageutils/croppedqimage.cpp
@@ -39,7 +39,7 @@ CroppedTQImage::CroppedTQImage( const TQImage& im, const TQRect& rect )
{
if( im.isNull())
return;
- memcpy( tqcolorTable(), im.tqcolorTable(), im.numColors() * sizeof( TQRgb ));
+ memcpy( colorTable(), im.colorTable(), im.numColors() * sizeof( TQRgb ));
setAlphaBuffer( im.hasAlphaBuffer());
setDotsPerMeterX( im.dotsPerMeterX());
setDotsPerMeterY( im.dotsPerMeterY());