diff options
Diffstat (limited to 'Swift/QtUI/Roster/main.cpp')
-rw-r--r-- | Swift/QtUI/Roster/main.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Swift/QtUI/Roster/main.cpp b/Swift/QtUI/Roster/main.cpp index 60ee592..660dce9 100644 --- a/Swift/QtUI/Roster/main.cpp +++ b/Swift/QtUI/Roster/main.cpp @@ -15,6 +15,7 @@ int main(int argc, char *argv[]) Swift::QtTreeWidgetFactory treeWidgetFactory; Swift::QtTreeWidget* tree = dynamic_cast<Swift::QtTreeWidget*>(treeWidgetFactory.createTreeWidget()); + tree->show(); for (int i = 0; i < 500; i++) { Swift::QtTreeWidgetItem* group = dynamic_cast<Swift::QtTreeWidgetItem*>(treeWidgetFactory.createTreeWidgetItem(tree)); group->setText("People"); @@ -26,8 +27,9 @@ int main(int argc, char *argv[]) item1->setText("Remko"); item2->setText("Kevin"); item3->setText("Cath"); + item4->setText("KimTypo"); item4->setText("Kim"); } - tree->show(); + return app.exec(); }
\ No newline at end of file |