summarylogtreecommitdiffstats
path: root/dbmodel-0.3-qt-4.6.patch
diff options
context:
space:
mode:
authorWieland Hoffmann2015-06-08 11:13:58 +0200
committerWieland Hoffmann2015-06-08 11:13:58 +0200
commit48aacc65a51d29585d43247ee22477eb2a3211a4 (patch)
tree62b86c04f34be1e51fc744e58cde3637de82a62b /dbmodel-0.3-qt-4.6.patch
downloadaur-48aacc65a51d29585d43247ee22477eb2a3211a4.tar.gz
Initial import
Diffstat (limited to 'dbmodel-0.3-qt-4.6.patch')
-rw-r--r--dbmodel-0.3-qt-4.6.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/dbmodel-0.3-qt-4.6.patch b/dbmodel-0.3-qt-4.6.patch
new file mode 100644
index 000000000000..3f969fbd96ae
--- /dev/null
+++ b/dbmodel-0.3-qt-4.6.patch
@@ -0,0 +1,15 @@
+diff -Nur -x dbmodel.pro.user dbmodel-0.3.orig/src/items/database/databasetable.cpp dbmodel-0.3/src/items/database/databasetable.cpp
+--- dbmodel-0.3.orig/src/items/database/databasetable.cpp 2010-01-24 18:34:48.000000000 +1000
++++ dbmodel-0.3/src/items/database/databasetable.cpp 2010-02-20 02:27:25.203332050 +1000
+@@ -30,6 +30,11 @@
+ {
+ 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);