[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    extragear/plasma/applets/fifteenPuzzle/src
From:       Aaron J. Seigo <aseigo () kde ! org>
Date:       2008-01-25 1:42:16
Message-ID: 1201225336.319582.31284.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 766022 by aseigo:

give the puzzle a sane initial size; the contentSizeHint was previously being used \
for this, but that's really not necessary.


 M  +1 -0      fifteenPuzzle.cpp  


--- trunk/extragear/plasma/applets/fifteenPuzzle/src/fifteenPuzzle.cpp #766021:766022
@@ -28,6 +28,7 @@
   setRemainSquare(true);
   board = new Fifteen(this);
   board->setRect(0, 0, 192, 192); // 48 * 4 = 192
+  setSize(board->boundingRect().size());
 }
 
 void FifteenPuzzle::init()


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic