1.8.70 Fixes in property window
authorinsilmaril
Sat, 31 Mar 2007 09:28:27 +0000
changeset 441658ad3bc0c8a
parent 440 c6a8651e6bbc
child 442 dfbc371b7280
1.8.70 Fixes in property window
floatimageobj.cpp
     1.1 --- a/floatimageobj.cpp	Sat Mar 31 09:28:27 2007 +0000
     1.2 +++ b/floatimageobj.cpp	Sat Mar 31 09:28:27 2007 +0000
     1.3 @@ -83,7 +83,6 @@
     1.4  	icon->load(pixmap);
     1.5  	bbox.setSize (QSizeF(icon->boundingRect().width()+8, icon->boundingRect().height()+8));
     1.6  	clickBox.setSize (QSizeF(icon->boundingRect().width()+8, icon->boundingRect().height()+8));
     1.7 -	selbox->setRect(0,0,clickBox.width(),clickBox.height());
     1.8  	positionBBox();
     1.9  	filetype="PNG";
    1.10  	filename="No filename given";
    1.11 @@ -98,7 +97,6 @@
    1.12  	{
    1.13  		icon->setPixmap(QPixmap::fromImage(img));
    1.14  		bbox.setSize (QSizeF(icon->boundingRect().width()+8, icon->boundingRect().height()+8));
    1.15 -		selbox->setRect(0,0,clickBox.width(),clickBox.height());
    1.16  		positionBBox();
    1.17  		filename=fn;
    1.18  		filetype=reader.format();
    1.19 @@ -152,7 +150,6 @@
    1.20  void FloatImageObj::positionBBox()
    1.21  {
    1.22  	clickBox=bbox;
    1.23 -	setSelBox();
    1.24  }
    1.25  
    1.26  void FloatImageObj::calcBBoxSize()