forked from teamnwah/openmw-tes3coop
removed debug code
This commit is contained in:
parent
bb675ff41d
commit
0bfc408ea2
1 changed files with 0 additions and 4 deletions
|
@ -2,7 +2,6 @@
|
||||||
|
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
#include "./idtable.hpp"
|
#include "./idtable.hpp"
|
||||||
#include <QDebug>
|
|
||||||
|
|
||||||
CSMWorld::NestedTableModel::NestedTableModel(const QModelIndex& parent,
|
CSMWorld::NestedTableModel::NestedTableModel(const QModelIndex& parent,
|
||||||
ColumnBase::Display columnId,
|
ColumnBase::Display columnId,
|
||||||
|
@ -140,9 +139,6 @@ void CSMWorld::NestedTableModel::forwardRowsInserted(const QModelIndex& parent,
|
||||||
|
|
||||||
bool CSMWorld::NestedTableModel::indexIsParent(const QModelIndex& index)
|
bool CSMWorld::NestedTableModel::indexIsParent(const QModelIndex& index)
|
||||||
{
|
{
|
||||||
qDebug()<<"Testing for parenty";
|
|
||||||
qDebug()<<index.isValid();
|
|
||||||
qDebug()<<(index.column() == mParentColumn);
|
|
||||||
return (index.isValid() &&
|
return (index.isValid() &&
|
||||||
index.column() == mParentColumn &&
|
index.column() == mParentColumn &&
|
||||||
mMainModel->data(mMainModel->index(index.row(), 0)).toString().toUtf8().constData() == mId);
|
mMainModel->data(mMainModel->index(index.row(), 0)).toString().toUtf8().constData() == mId);
|
||||||
|
|
Loading…
Reference in a new issue