[Kde-games-devel] branches/KDE/4.1/kdegames/kfourinline/src

Aaron J. Seigo aseigo at kde.org
Sun Jul 20 19:20:52 CEST 2008


SVN commit 835485 by aseigo:

backport Martin Heni's fix in r835451: Without this fix the game is not working at all (sprite movement).
CCMAIL:kde-games-devel at kde.org


 M  +3 -3      kwin4view.cpp  


--- branches/KDE/4.1/kdegames/kfourinline/src/kwin4view.cpp #835484:835485
@@ -447,7 +447,7 @@
   KPlayer* player=input->player();
   if (!player->myTurn())
   {
-    kDebug() <<" Kwin4View::TODO wrongPlayer";
+    // kDebug() <<" Kwin4View::TODO wrongPlayer";
   //  *eatevent=wrongPlayer(player,KGameIO::MouseIO);
     return;
   }
@@ -486,7 +486,7 @@
   KPlayer *player=input->player();
   if (!player->myTurn())
   {
-    kDebug() <<" Kwin4View::TODO wrongPlayer";
+    //kDebug() <<" Kwin4View::TODO wrongPlayer";
    // *eatevent=wrongPlayer(player,KGameIO::KeyIO);
     return;
   }
@@ -539,7 +539,7 @@
 bool KWin4View::viewportEvent ( QEvent * event ) 
 {
   if (mIntroDisplay) mIntroDisplay->viewEvent(event);
-  return QAbstractScrollArea::viewportEvent(event);
+  return QGraphicsView::viewportEvent(event);
 }
 
 #include "kwin4view.moc"


More information about the kde-games-devel mailing list