vlc | branch: master | Francois Cartegnie <[email protected]> | Thu Jul 19 
18:01:27 2012 +0200| [08bc63f0347420ae69b29c3dffe53787a2c78da8] | committer: 
Francois Cartegnie

Qt: Pictureflow: kill some warnings

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=08bc63f0347420ae69b29c3dffe53787a2c78da8
---

 modules/gui/qt4/util/pictureflow.cpp |    6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/modules/gui/qt4/util/pictureflow.cpp 
b/modules/gui/qt4/util/pictureflow.cpp
index 4325491..5c8ae0a 100644
--- a/modules/gui/qt4/util/pictureflow.cpp
+++ b/modules/gui/qt4/util/pictureflow.cpp
@@ -338,6 +338,7 @@ static QRgb blendColor(QRgb c1, QRgb c2, int blend)
 static QImage* prepareSurface(const QImage* slideImage, int w, int h, QRgb 
bgcolor,
                               PictureFlow::ReflectionEffect reflectionEffect, 
QModelIndex index)
 {
+    Q_UNUSED(bgcolor);
     Qt::TransformationMode mode = Qt::SmoothTransformation;
     QImage img = slideImage->scaled(w, h, Qt::KeepAspectRatio, mode);
 
@@ -1115,12 +1116,16 @@ void PictureFlowPrivate::triggerRender()
 
 void PictureFlowPrivate::insertSlide(int index, const QImage& image)
 {
+    Q_UNUSED(index);
+    Q_UNUSED(image);
 //    state->slideImages.insert(index, new QImage(image));
 //    triggerRender();
 }
 
 void PictureFlowPrivate::replaceSlide(int index, const QImage& image)
 {
+    Q_UNUSED(index);
+    Q_UNUSED(image);
 //    Q_ASSERT((index >= 0) && (index < state->slideImages.count()));
 
 //    QImage* i = image.isNull() ? 0 : new QImage(image);
@@ -1131,6 +1136,7 @@ void PictureFlowPrivate::replaceSlide(int index, const 
QImage& image)
 
 void PictureFlowPrivate::removeSlide(int index)
 {
+    Q_UNUSED(index);
 //    delete state->slideImages[index];
 //    state->slideImages.remove(index);
 //    triggerRender();

_______________________________________________
vlc-commits mailing list
[email protected]
http://mailman.videolan.org/listinfo/vlc-commits

Reply via email to