floatimageobj.cpp
changeset 586 dad3e4c36e7f
parent 417 1cc7bbf75f0b
child 628 d7d0708b1c60
     1.1 --- a/floatimageobj.cpp	Fri Jan 05 11:17:32 2007 +0000
     1.2 +++ b/floatimageobj.cpp	Wed Aug 22 07:25:05 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()