From 87916ccf71bd35f41a84c1e8f0fe211b5279c558 Mon Sep 17 00:00:00 2001 From: Jan Darmochwal Date: Wed, 6 Oct 2010 11:01:33 +0200 Subject: Remove debug printfs --- src/dialog.cpp | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/dialog.cpp') diff --git a/src/dialog.cpp b/src/dialog.cpp index 7ebfbcc..d09ff19 100644 --- a/src/dialog.cpp +++ b/src/dialog.cpp @@ -48,7 +48,6 @@ void Dialog::changeEvent(QEvent *e) void Dialog::on_treeView_activated(QModelIndex index) { //TODO handle failures - //printf ("Item %d has been activated\n", index.row()); //TODO get rid of this->entries, storing them in the model should be enough // alternatively use references instead of copies? @@ -72,15 +71,6 @@ void Dialog::on_treeView_activated(QModelIndex index) } void Dialog::addItems(const QList& entries, const QString& section) { - // TODO: section - // TODO: this is not the right way to do this - // we probably do not need a copy of the entries vector in Dialog and Model - //printf("Dialog::addItems()\n"); - //printf(" before: %d items\n", this->entries_.size()); - //printf(" %d new items\n", entries.size()); - //this->entries_.append(entries); - //printf(" after: %d items\n", this->entries_.size()); - this->model_->addItems(entries, section); // TODO: do this only once? -- cgit v1.2.3-55-g7522