diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-11-15 15:08:51 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-11-15 15:08:51 -0600 |
commit | fb652a2be46ce1a2081e5dde268cd9f4ebe6fdd0 (patch) | |
tree | a01fcd88aa65a77c2b2e12ba1a55851ddfe5afcc /tdeprint/cups/imagepreview.cpp | |
parent | 3fbca5d9a4bd057ed5f9df138333e6c16dbdcc62 (diff) | |
download | tdelibs-fb652a2be46ce1a2081e5dde268cd9f4ebe6fdd0.tar.gz tdelibs-fb652a2be46ce1a2081e5dde268cd9f4ebe6fdd0.zip |
Fix kdelibs FTBFS on native TQt3
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(); |