Support moving groups with drag and drop.

This commit is contained in:
Felix Geyer committed 2012-04-25 00:22:55 +02:00
1 parent 9e0a6ad2d8
commit d3fbb291bd
4 files changed
+114 -2

No files matched your search

+1 -1
View File
@@ -91,7 +91,7 @@ void TestGroupModel::test()
QSignalSpy spyMoved(model, SIGNAL(rowsMoved(QModelIndex,int,int,QModelIndex,int)));
Group* group2 = new Group();
group1->setObjectName("group2");
group2->setObjectName("group2");
group2->setName("group2");
group2->setParent(groupRoot);
QModelIndex index2 = model->index(1, 0, indexRoot);