diff -r 5522d1da7e37 -r d0f944a540a1 imageobj.cpp --- a/imageobj.cpp Tue Jan 23 11:50:53 2007 +0000 +++ b/imageobj.cpp Wed May 06 10:02:08 2009 +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; }