[vlc-commits] Qt: use const_iterator when possible

Jean-Baptiste Kempf git at videolan.org
Tue Aug 16 17:32:22 CEST 2011


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue Aug 16 17:15:29 2011 +0200| [c652822a6c8b6118d58332ee9485349a6744e97f] | committer: Jean-Baptiste Kempf

Qt: use const_iterator when possible

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

 modules/gui/qt4/components/simple_preferences.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/gui/qt4/components/simple_preferences.cpp b/modules/gui/qt4/components/simple_preferences.cpp
index 229c271..933c890 100644
--- a/modules/gui/qt4/components/simple_preferences.cpp
+++ b/modules/gui/qt4/components/simple_preferences.cpp
@@ -771,7 +771,7 @@ void SPrefsPanel::updateAudioVolume( int volume )
 void SPrefsPanel::apply()
 {
     /* Generic save for ever panel */
-    QList<ConfigControl *>::Iterator i;
+    QList<ConfigControl *>::const_iterator i;
     for( i = controls.begin() ; i != controls.end() ; ++i )
     {
         ConfigControl *c = qobject_cast<ConfigControl *>(*i);



More information about the vlc-commits mailing list