From c0e4730a50f812cd3795d47561357ff221094f8c Mon Sep 17 00:00:00 2001 From: Marcus Eggenberger Date: Fri, 18 Apr 2008 13:19:05 +0000 Subject: [PATCH] code cleanup --- src/client/treemodel.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/client/treemodel.cpp b/src/client/treemodel.cpp index 9a919803..6fc0c25b 100644 --- a/src/client/treemodel.cpp +++ b/src/client/treemodel.cpp @@ -399,9 +399,6 @@ QVariant TreeModel::data(const QModelIndex &index, int role) const { return QVariant(); AbstractTreeItem *item = static_cast(index.internalPointer()); - if(role == Qt::DisplayRole && !item->data(index.column(), role).isValid()) { - qDebug() << item->data(0, role) << item->columnCount(); - } return item->data(index.column(), role); } -- 2.20.1