diff options
author | Alexander 'hatred' Drozdoff <adrozdoff@gmail.com> | 2010-03-02 19:56:17 +0100 |
---|---|---|
committer | Lukáš Lalinský <lalinsky@gmail.com> | 2010-03-02 19:56:17 +0100 |
commit | 55f7d76d901bd8683ecdee7b41fab4677782251d (patch) | |
tree | 7bf4a5262137962e89d50a0d5f21b16aff0bb42d /src | |
parent | 20efb2baa762eeaeeea71a182110b4ff81b38a4f (diff) | |
download | dbmodel-55f7d76d901bd8683ecdee7b41fab4677782251d.tar.xz |
Fixed a problem with updating relationships when using Qt 4.6
Diffstat (limited to 'src')
-rw-r--r-- | src/items/database/databasetable.cpp | 5 |
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); |