diff -r 133e2ed6b9c5 -r f1006de05c54 imageitem.cpp --- a/imageitem.cpp Thu Sep 03 08:52:00 2009 +0000 +++ b/imageitem.cpp Mon Sep 07 15:36:57 2009 +0000 @@ -38,6 +38,12 @@ return imageType; } +void ImageItem::load(const QPixmap &pm) +{ + pixmap=pm; + if (lmo) ((FloatImageObj*)lmo)->load (pixmap); +} + bool ImageItem::load(const QString &fname) { bool ok=pixmap.load (fname);