fixed compilation with old Qt4.5

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3709 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2010-10-28 19:21:32 +00:00
parent 162a949092
commit 70c90832be

View File

@ -55,7 +55,9 @@ Node::Node(const std::string& node_string,uint32_t flags,GraphWidget *graphWidge
: graph(graphWidget),_desc_string(node_string),_flags(flags) : graph(graphWidget),_desc_string(node_string),_flags(flags)
{ {
setFlag(ItemIsMovable); setFlag(ItemIsMovable);
#if QT_VERSION >= 0x040600
setFlag(ItemSendsGeometryChanges); setFlag(ItemSendsGeometryChanges);
#endif
setCacheMode(DeviceCoordinateCache); setCacheMode(DeviceCoordinateCache);
setZValue(1); setZValue(1);
mDeterminedBB = false ; mDeterminedBB = false ;