diff options
Diffstat (limited to 'tdeprint/cups/imagepreview.cpp')
-rw-r--r-- | tdeprint/cups/imagepreview.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tdeprint/cups/imagepreview.cpp b/tdeprint/cups/imagepreview.cpp index 2290f6a96..fb27974da 100644 --- a/tdeprint/cups/imagepreview.cpp +++ b/tdeprint/cups/imagepreview.cpp @@ -58,9 +58,9 @@ void ImagePreview::paintEvent(TQPaintEvent*){ QImage tmpImage = convertImage(image_,hue_,(bw_ ? 0 : saturation_),brightness_,gamma_); int x = (width()-tmpImage.width())/2, y = (height()-tmpImage.height())/2; - QPixmap buffer(width(), height()); + TQPixmap buffer(width(), height()); buffer.fill(parentWidget(), 0, 0); - QPainter p(&buffer); + TQPainter p(&buffer); p.drawImage(x,y,tmpImage); p.end(); |