diff options
author | Jan Darmochwal | 2010-10-06 11:01:33 +0200 |
---|---|---|
committer | Jan Darmochwal | 2010-10-06 11:01:33 +0200 |
commit | 87916ccf71bd35f41a84c1e8f0fe211b5279c558 (patch) | |
tree | 1e24297ade776b151d163db7e48081a9fa63a613 /src/dialog.cpp | |
parent | i18n support and German translation (diff) | |
download | vmchooser-87916ccf71bd35f41a84c1e8f0fe211b5279c558.tar.gz vmchooser-87916ccf71bd35f41a84c1e8f0fe211b5279c558.tar.xz vmchooser-87916ccf71bd35f41a84c1e8f0fe211b5279c558.zip |
Remove debug printfs
Diffstat (limited to 'src/dialog.cpp')
-rw-r--r-- | src/dialog.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
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<Session*>& 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? |