diff -r 5522d1da7e37 -r e2c23e0cefc0 imageobj.cpp --- a/imageobj.cpp Tue Jan 23 11:50:53 2007 +0000 +++ b/imageobj.cpp Tue Jun 03 08:34:56 2008 +0000 @@ -16,11 +16,12 @@ ImageObj::~ImageObj() { -// cout << "Destr ImageObj\n"; + // cout << "Destr ImageObj\n"; } void ImageObj::copy(ImageObj* other) { + prepareGeometryChange(); setVisibility (other->isVisible() ); setPixmap (other->QGraphicsPixmapItem::pixmap()); setPos (other->pos()); @@ -44,6 +45,7 @@ QPixmap pixmap; if (pixmap.load (fn)) { + prepareGeometryChange(); setPixmap (pixmap); return true; } @@ -52,6 +54,7 @@ bool ImageObj::load (const QPixmap &pm) { + prepareGeometryChange(); setPixmap (pm); return true; }