Remove Stefans debug code

This commit is contained in:
Micke Prag 2012-01-17 13:20:19 +01:00
parent a182ba2111
commit 5b3b669997

View file

@ -1,7 +1,5 @@
#include "qmlarray.h"
#include <QDebug>
class QMLArray::PrivateData {
public:
QList<QScriptValue> list;
@ -36,11 +34,9 @@ void QMLArray::push(const QScriptValue &v) {
}
void QMLArray::remove(int index) {
qDebug() << "Count first: " << d->list.count();
beginRemoveRows( QModelIndex(), index, index );
d->list.takeAt(index);
endRemoveRows();
qDebug() << "Count after: " << d->list.size();
}
int QMLArray::rowCount(const QModelIndex &parent) const {