equal
deleted
inserted
replaced
33 #include "hblistview.h" |
33 #include "hblistview.h" |
34 #include "hbmodeliterator.h" |
34 #include "hbmodeliterator.h" |
35 |
35 |
36 #include <qmath.h> |
36 #include <qmath.h> |
37 #include <QDebug> |
37 #include <QDebug> |
|
38 #include <QMetaObject> |
38 |
39 |
39 const int Hb_Recycle_Buffer_Shrink_Threshold = 2; // Rather arbitrary |
40 const int Hb_Recycle_Buffer_Shrink_Threshold = 2; // Rather arbitrary |
40 |
41 |
41 HbListItemContainerPrivate::HbListItemContainerPrivate() : |
42 HbListItemContainerPrivate::HbListItemContainerPrivate() : |
42 HbAbstractItemContainerPrivate(), |
43 HbAbstractItemContainerPrivate(), |
516 setPos(newPos); |
517 setPos(newPos); |
517 } |
518 } |
518 |
519 |
519 d->adjustContent(); |
520 d->adjustContent(); |
520 } else { |
521 } else { |
521 item->deleteLater(); |
522 item->hide(); |
|
523 QMetaObject::invokeMethod(item, "deleteLater", Qt::QueuedConnection); |
522 } |
524 } |
523 } |
525 } |
524 |
526 |
525 /*! |
527 /*! |
526 \reimp |
528 \reimp |