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

List:       kde-commits
Subject:    kdeedu/khangman/khangman
From:       Anne-Marie Mahfouf <annma () kde ! org>
Date:       2005-04-11 23:05:24
Message-ID: 20050411230524.42260633 () office ! kde ! org
[Download RAW message or body]

CVS commit by annma: 

fix change of theme repainting - adjustSize() before updateGeometry() is a bit long \
but I don't see any other solution at the moment to chage the widgets location.


  M +6 -4      khangmanview.cpp   1.104


--- kdeedu/khangman/khangman/khangmanview.cpp  #1.103:1.104
@@ -170,8 +170,10 @@ void KHangManView::setTheme()
 {
     loadAnimation();
-    adjustSize();
-    slotSetPixmap(bcgdPicture);    
     slotNewGame();
+    
+    slotSetPixmap(bcgdPicture);    
     update();
+    adjustSize();
+    updateGeometry();
 }
 
@@ -536,6 +538,6 @@ void KHangManView::reset()
     missedChar=0;
     allWords.clear();
-    loadAnimation();
-    update();
+   // loadAnimation();
+   // update();
 }
 


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

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