# HG changeset patch # User insilmaril # Date 1143117534 0 # Node ID 42c8cf6dd1c37839daa3db8a0f552ab670445ce7 # Parent 199f2626fe7034de1fb89ae6207f5ab62c196e40 Version 1.7.12 diff -r 199f2626fe70 -r 42c8cf6dd1c3 floatimageobj.cpp --- a/floatimageobj.cpp Thu Mar 23 12:38:54 2006 +0000 +++ b/floatimageobj.cpp Thu Mar 23 12:38:54 2006 +0000 @@ -25,7 +25,7 @@ depth=-1; } -FloatImageObj::FloatImageObj (QCanvas* c, LinkableMapObj* p):FloatObj(c,p) +FloatImageObj::FloatImageObj (QCanvas* c, OrnamentedObj* p):FloatObj(c,p) { // cout << "Const FloatImageObj (c,p)\n"; init(); @@ -49,6 +49,9 @@ filetype=""; saveInMap=true; useRelPos=true; + + //Hide flags + systemFlags->setShowFlags(false); } void FloatImageObj::copy (FloatImageObj* other) @@ -114,7 +117,7 @@ void FloatImageObj::setVisibility(bool v) { - LinkableMapObj::setVisibility(v); + OrnamentedObj::setVisibility(v); if (v) icon->setVisibility(true); else @@ -145,6 +148,8 @@ QString FloatImageObj::saveToDir (const QString &tmpdir,const QString &prefix, const QPoint &p) { + if (hidden) return ""; + saveCounter++; QString useOrientAttr;