linkablemapobj.cpp
changeset 723 11f9124c1cca
parent 721 12958f987bcf
child 724 cf14046909cd
     1.1 --- a/linkablemapobj.cpp	Wed Jul 16 11:56:44 2008 +0000
     1.2 +++ b/linkablemapobj.cpp	Mon Aug 04 10:43:06 2008 +0000
     1.3 @@ -133,7 +133,7 @@
     1.4  {
     1.5      parObj=o;
     1.6  	mapEditor=parObj->getMapEditor();
     1.7 -	model=parObj->getModel();	// FIXME makes painting slow, but that's obvious because there are no links to paint, hmmm....
     1.8 +	model=parObj->getModel();	
     1.9  }
    1.10  
    1.11  void LinkableMapObj::setParObjTmp(LinkableMapObj*,QPointF,int)	// FIXME make pure virtual
    1.12 @@ -669,7 +669,7 @@
    1.13  	// we want to block expensive repositioning, but just do it once at
    1.14  	// the end, thus check first:
    1.15  
    1.16 -	if (mapEditor->getModel()->isRepositionBlocked()) return;	// FIXME better go to model directly, maybe via a signal
    1.17 +	if (model->isRepositionBlocked()) return;	// FIXME better go to model directly, maybe via a signal
    1.18  	
    1.19  	// Pass on the request to parental objects, if this hasn't been done yet
    1.20