From 55f7d76d901bd8683ecdee7b41fab4677782251d Mon Sep 17 00:00:00 2001 From: Alexander 'hatred' Drozdoff Date: Tue, 2 Mar 2010 19:56:17 +0100 Subject: Fixed a problem with updating relationships when using Qt 4.6 --- src/items/database/databasetable.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') diff --git a/src/items/database/databasetable.cpp b/src/items/database/databasetable.cpp index 7f73b0d..74b6734 100644 --- a/src/items/database/databasetable.cpp +++ b/src/items/database/databasetable.cpp @@ -30,6 +30,11 @@ DatabaseTable::DatabaseTable(DiagramItem *parent) { setFlag(ItemIsMovable); setFlag(ItemIsSelectable); +#if QT_VERSION >= 0x040600 + // This flag was introduced in Qt 4.6.0 + // see Assistant for additional info + setFlag(ItemSendsGeometryChanges); +#endif setHub(new BoxSideHub(this)); m_color = Qt::white; m_columnList = new ColumnList(this); -- cgit v1.2.3-70-g09d2