summaryrefslogtreecommitdiffstats
path: root/tools/designer/src
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>2012-08-20 09:22:31 (GMT)
committerQt by Nokia <qt-info@nokia.com>2012-08-20 18:12:17 (GMT)
commit7fc300dcf04957fc3771a421ca0e7d7addee9168 (patch)
treee8ad5cacc2c74c013771fe2ca9249e8473298008 /tools/designer/src
parenta26f545d8e25af74fb43d16c9afa79f6e04463e7 (diff)
downloadQt-7fc300dcf04957fc3771a421ca0e7d7addee9168.zip
Qt-7fc300dcf04957fc3771a421ca0e7d7addee9168.tar.gz
Qt-7fc300dcf04957fc3771a421ca0e7d7addee9168.tar.bz2
Fix deleting of QTreeWidget items.
Breakage introduced by af617c319772a34115d0c4d802f25a807cb43065, which caused the autoconnections to no longer work. Task-number: QTBUG-26770 Change-Id: Id00341d93d4a830f3f48a1db6234818e6d262977 Reviewed-by: Kai Koehne <kai.koehne@nokia.com> (cherry picked from commit c6616bcdc87b8665a2ea84b07dd04229f2ccbd7a)
Diffstat (limited to 'tools/designer/src')
-rw-r--r--tools/designer/src/components/taskmenu/treewidgeteditor.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/designer/src/components/taskmenu/treewidgeteditor.cpp b/tools/designer/src/components/taskmenu/treewidgeteditor.cpp
index 5d3ed94..77d6293 100644
--- a/tools/designer/src/components/taskmenu/treewidgeteditor.cpp
+++ b/tools/designer/src/components/taskmenu/treewidgeteditor.cpp
@@ -93,6 +93,7 @@ TreeWidgetEditor::TreeWidgetEditor(QDesignerFormWindowInterface *form, QDialog *
connect(ui.moveItemDownButton, SIGNAL(clicked()), this, SLOT(on_moveItemDownButton_clicked()));
connect(ui.moveItemRightButton, SIGNAL(clicked()), this, SLOT(on_moveItemRightButton_clicked()));
connect(ui.moveItemLeftButton, SIGNAL(clicked()), this, SLOT(on_moveItemLeftButton_clicked()));
+ connect(ui.deleteItemButton, SIGNAL(clicked()), this, SLOT(on_deleteItemButton_clicked()));
connect(ui.treeWidget, SIGNAL(currentItemChanged(QTreeWidgetItem*,QTreeWidgetItem*)),
this, SLOT(on_treeWidget_currentItemChanged()));
connect(ui.treeWidget, SIGNAL(itemChanged(QTreeWidgetItem*,int)),