[Kst] kdeextragear-2/kst/kst

George Staikos staikos at kde.org
Wed Apr 28 22:14:05 CEST 2004


CVS commit by staikos: 

this if () is not necessary


  M +11 -13    ksttoplevelview.cpp   1.39


--- kdeextragear-2/kst/kst/ksttoplevelview.cpp  #1.38:1.39
@@ -289,5 +289,4 @@ bool KstTopLevelView::handlePress(const 
   _pressTarget = findChild(pos);
   assert(_pressTarget);
-  if(_pressTarget) {
     _pressDirection = directionFor(pos, _pressTarget->geometry());
     if (_pressDirection == 0) {
@@ -305,5 +304,4 @@ bool KstTopLevelView::handlePress(const 
 
     _pressTarget->setFocus(false);
-  }
   
   return true;





More information about the Kst mailing list