[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdegraphics/kuickshow/src
From: Carsten Pfeiffer <carpdjih () mailbox ! tu-berlin ! de>
Date: 2005-01-14 15:32:06
Message-ID: 20050114153206.E8DBD1BAC7 () office ! kde ! org
[Download RAW message or body]
CVS commit by pfeiffer:
fix logic. Thanks to Lubos for noticing!
M +1 -1 printing.cpp 1.19
--- kdegraphics/kuickshow/src/printing.cpp #1.18:1.19
@@ -108,5 +108,5 @@ bool Printing::printImageWithQt( const Q
bool shrinkToFit = (printer.option( "app-kuickshow-shrinkToFit" ) != f);
QSize imagesize = image.size();
- if ( shrinkToFit && image.width() > w || image.height() > h ) {
+ if ( shrinkToFit && (image.width() > w || image.height() > h) ) {
imagesize.scale( w, h, QSize::ScaleMin );
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic