[vlc-commits] commit: Qt4: remove unused variable in pictureflow (Ilkka Ollakka )
git at videolan.org
git at videolan.org
Sun Nov 7 20:35:48 CET 2010
vlc | branch: master | Ilkka Ollakka <ileoo at videolan.org> | Sun Nov 7 21:27:06 2010 +0200| [5460741f3515a25824d9e4b3ca2996bed12b5042] | committer: Ilkka Ollakka
Qt4: remove unused variable in pictureflow
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5460741f3515a25824d9e4b3ca2996bed12b5042
---
modules/gui/qt4/util/pictureflow.cpp | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/modules/gui/qt4/util/pictureflow.cpp b/modules/gui/qt4/util/pictureflow.cpp
index c5a6112..749795d 100644
--- a/modules/gui/qt4/util/pictureflow.cpp
+++ b/modules/gui/qt4/util/pictureflow.cpp
@@ -619,8 +619,6 @@ QImage* PictureFlowSoftwareRenderer::surface(int slideIndex)
if (slideIndex >= state->model->rowCount( state->model->currentIndex().parent() ) )
return 0;
- int key = slideIndex;
-
QImage* img = new QImage(PLModel::getArtPixmap( state->model->index( slideIndex, 0, state->model->currentIndex().parent() ),
QSize( state->slideWidth, state->slideHeight ) ).toImage());
@@ -791,7 +789,6 @@ public:
PictureFlow::PictureFlow(QWidget* parent, PLModel* _p_model): QWidget(parent)
{
d = new PictureFlowPrivate;
-
d->state = new PictureFlowState;
d->state->model = _p_model;
d->state->reset();
More information about the vlc-commits
mailing list