removed debug code

This commit is contained in:
Marek Kochanowicz 2014-07-02 14:10:11 +02:00
parent bb675ff41d
commit 0bfc408ea2

View file

@ -2,7 +2,6 @@
#include <cassert>
#include "./idtable.hpp"
#include <QDebug>
CSMWorld::NestedTableModel::NestedTableModel(const QModelIndex& parent,
ColumnBase::Display columnId,
@ -140,9 +139,6 @@ void CSMWorld::NestedTableModel::forwardRowsInserted(const QModelIndex& parent,
bool CSMWorld::NestedTableModel::indexIsParent(const QModelIndex& index)
{
qDebug()<<"Testing for parenty";
qDebug()<<index.isValid();
qDebug()<<(index.column() == mParentColumn);
return (index.isValid() &&
index.column() == mParentColumn &&
mMainModel->data(mMainModel->index(index.row(), 0)).toString().toUtf8().constData() == mId);