summaryrefslogtreecommitdiff
path: root/src/items/database/databasetable.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/items/database/databasetable.cpp')
-rw-r--r--src/items/database/databasetable.cpp5
1 files changed, 5 insertions, 0 deletions
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);