Ticket #872: singleview.diff
File singleview.diff, 678 bytes (added by , 18 years ago) |
---|
-
singleview.cpp
189 189 190 190 if (m_pixmap->width() <= screenwidth && 191 191 m_pixmap->height() <= screenheight) 192 bitBlt(&pix, screenwidth/2-m_pixmap->width()/2,193 screenheight/2-m_pixmap->height()/2,192 bitBlt(&pix, (screenwidth-m_pixmap->width())/2, 193 (screenheight-m_pixmap->height())/2, 194 194 m_pixmap,0,0,-1,-1,Qt::CopyROP); 195 195 else 196 196 bitBlt(&pix, 0, 0, m_pixmap, m_sx, m_sy,