Revision 1212966

Go back to digest for 9th January 2011

Bug Fixes in Games

Parker Coates committed changes in /trunk/KDE/kdegames/kpat/libkcardgame:

Make cards check that their size is correct before painting.

If a card is asked to paint() but it's current pixmap differs in size
from the current deck card size, it now explicitly requests a new a new
pixmap from the deck.

This will hopefully fix all the recent issues with cards having the
wrong size or not appearing at all. Technically, they were always
appearing, but sometimes they were appearing at a size of 0 by 0 pixels.

File Changes

Modified 3 files
  • /trunk/KDE/kdegames/kpat/libkcardgame
  •   /kabstractcarddeck.cpp
  •   /kabstractcarddeck.h
  •   /kcard.cpp
3 files changed in total