mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
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:
parent
162a949092
commit
70c90832be
@ -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 ;
|
||||||
|
Loading…
Reference in New Issue
Block a user