diff options
| author | Marius Bugge Monsen <mmonsen@trolltech.com> | 2009-07-22 13:32:49 +1000 |
|---|---|---|
| committer | Marius Bugge Monsen <mmonsen@trolltech.com> | 2009-07-22 13:32:49 +1000 |
| commit | b973371c811e5456ad7db3375c34e12bd1d50371 (patch) | |
| tree | c3a4205f4b661cb0d81f602f11a009d0171d1749 | |
| parent | 3d6ddcf7aceee33a20b1c01a61d76115a09b457b (diff) | |
Remove some debug output from the photoAlbum example.
| -rw-r--r-- | examples/photoAlbum/main.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/examples/photoAlbum/main.cpp b/examples/photoAlbum/main.cpp index 79f045c..de13e70 100644 --- a/examples/photoAlbum/main.cpp +++ b/examples/photoAlbum/main.cpp @@ -156,11 +156,9 @@ void ViewTransition::onTransition(QEvent *event) QList<QVariant> args = se->arguments(); if (!args.isEmpty() && m_from && m_to) { const int index = args.at(0).toInt(); - qDebug() << index << m_to->itemGeometry(index); m_to->setOffsetToEnsureIndexIsVisible(index); // ### FIXME center on item m_to->doLayout(); // ensure the item is layed out qobject_cast<QtKineticListController*>(m_to->controller())->stop(); - qDebug() << ((QObject*)m_to->itemForIndex(index)); m_animation->setTargetObject(m_to->itemForIndex(index)); m_animation->setStartValue(m_from->itemGeometry(index)); m_animation->setEndValue(m_to->itemGeometry(index)); @@ -271,4 +269,4 @@ int main(int argc, char *argv[]) return app.exec(); } -#include "main.moc" +//#include "main.moc" |
