diff options
Diffstat (limited to 'src/imageutils/croppedqimage.cpp')
-rw-r--r-- | src/imageutils/croppedqimage.cpp | 2 |
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()); |