diff options
author | Martin Jones <martin.jones@nokia.com> | 2009-07-30 01:17:45 (GMT) |
---|---|---|
committer | Martin Jones <martin.jones@nokia.com> | 2009-07-30 01:17:45 (GMT) |
commit | 1779358f9c91119acf81278cddc275870861d600 (patch) | |
tree | 7f237b546428825ff27c3012a24fb404cb1ccf99 /src/declarative/fx/qfxlistview.cpp | |
parent | 580d706fc6db98ebdbd065d244c739d6b72e4a0f (diff) | |
download | Qt-1779358f9c91119acf81278cddc275870861d600.zip Qt-1779358f9c91119acf81278cddc275870861d600.tar.gz Qt-1779358f9c91119acf81278cddc275870861d600.tar.bz2 |
Removed unused code.
Diffstat (limited to 'src/declarative/fx/qfxlistview.cpp')
-rw-r--r-- | src/declarative/fx/qfxlistview.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/declarative/fx/qfxlistview.cpp b/src/declarative/fx/qfxlistview.cpp index 268ced1..62b2cf8 100644 --- a/src/declarative/fx/qfxlistview.cpp +++ b/src/declarative/fx/qfxlistview.cpp @@ -1386,19 +1386,6 @@ void QFxListView::trackedPositionChanged() d->setPosition(d->trackedItem->position() - d->snapPos); break; } - } else if (d->fixCurrentVisibility && d->currentItem && !d->pressed) { - /* - if (d->trackedItem->position() < d->position() - && d->currentItem->position() < d->position()) { - d->setPosition(d->trackedItem->position()); - } else if (d->size() && d->trackedItem->size() <= d->size() - && d->trackedItem->endPosition() > d->position() + d->size() - && d->currentItem->endPosition() > d->position() + d->size()) { - d->setPosition(d->trackedItem->endPosition() - d->size()); - } - if (d->trackedItem->position() == d->currentItem->position()) - d->fixCurrentVisibility = false; - */ } } |