Remove Stefans debug code
This commit is contained in:
parent
a182ba2111
commit
5b3b669997
1 changed files with 0 additions and 4 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue