From 378cc91c176b7896b4c7f9b931ed2eda26a24af8 Mon Sep 17 00:00:00 2001 From: sylvanbasilisk Date: Tue, 25 Mar 2014 00:07:58 +0000 Subject: [PATCH] delete debug printf statements this should fix the compilation issue mentioned by mattkelly --- cockatrice/src/filtertreemodel.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/cockatrice/src/filtertreemodel.cpp b/cockatrice/src/filtertreemodel.cpp index 8b3c57a3..c004ba22 100644 --- a/cockatrice/src/filtertreemodel.cpp +++ b/cockatrice/src/filtertreemodel.cpp @@ -262,13 +262,8 @@ bool FilterTreeModel::removeRows(int row, int count, const QModelIndex & parent) if (node == NULL || last >= node->childCount()) return false; - printf("delete children in %s\n", node->textCStr()); - fflush(stdout); - for (i = 0; i < count; i++) { - printf(" delete %d\n", i); - fflush(stdout); + for (i = 0; i < count; i++) node->deleteAt(row); - } if (node != fTree && node->childCount() < 1) return removeRow(parent.row(), parent.parent());