diff options
author | Remko Tronçon <git@el-tramo.be> | 2009-08-22 09:44:35 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2009-08-22 09:44:35 (GMT) |
commit | 4814521a30b1edbd34a782cd804a501225294fd8 (patch) | |
tree | b0b8df3ea1b5e5aaf8c964c8c817a8982cce644b /Swift/QtUI/Roster | |
parent | fe4dbe0430524152d198401eb18934abd4bae082 (diff) | |
download | swift-4814521a30b1edbd34a782cd804a501225294fd8.zip swift-4814521a30b1edbd34a782cd804a501225294fd8.tar.bz2 |
Fix expanded tab characters.
Diffstat (limited to 'Swift/QtUI/Roster')
-rw-r--r-- | Swift/QtUI/Roster/QtTreeWidget.cpp | 2 | ||||
-rw-r--r-- | Swift/QtUI/Roster/main.cpp | 14 |
2 files changed, 8 insertions, 8 deletions
diff --git a/Swift/QtUI/Roster/QtTreeWidget.cpp b/Swift/QtUI/Roster/QtTreeWidget.cpp index 18b28d2..b678e0c 100644 --- a/Swift/QtUI/Roster/QtTreeWidget.cpp +++ b/Swift/QtUI/Roster/QtTreeWidget.cpp @@ -9,7 +9,7 @@ QtTreeWidget::QtTreeWidget(QWidget* parent) : QTreeView(parent) { treeRoot_ = new QtTreeWidgetItem(NULL); model_ = new RosterModel(); model_->setRoot(treeRoot_); - setModel(model_); + setModel(model_); delegate_ = new RosterDelegate(); setItemDelegate(delegate_); setHeaderHidden(true); diff --git a/Swift/QtUI/Roster/main.cpp b/Swift/QtUI/Roster/main.cpp index 660dce9..2ef6697 100644 --- a/Swift/QtUI/Roster/main.cpp +++ b/Swift/QtUI/Roster/main.cpp @@ -4,14 +4,14 @@ int main(int argc, char *argv[]) { - QApplication app(argc, argv); + QApplication app(argc, argv); - //Swift::RosterModel model; + //Swift::RosterModel model; - //QTreeView view; - //view.setModel(&model); - //view.setWindowTitle("A roster"); - //view.show(); + //QTreeView view; + //view.setModel(&model); + //view.setWindowTitle("A roster"); + //view.show(); Swift::QtTreeWidgetFactory treeWidgetFactory; Swift::QtTreeWidget* tree = dynamic_cast<Swift::QtTreeWidget*>(treeWidgetFactory.createTreeWidget()); @@ -31,5 +31,5 @@ int main(int argc, char *argv[]) item4->setText("Kim"); } - return app.exec(); + return app.exec(); }
\ No newline at end of file |