Commit c652822a authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: use const_iterator when possible

parent de2b1cff
...@@ -771,7 +771,7 @@ void SPrefsPanel::updateAudioVolume( int volume ) ...@@ -771,7 +771,7 @@ void SPrefsPanel::updateAudioVolume( int volume )
void SPrefsPanel::apply() void SPrefsPanel::apply()
{ {
/* Generic save for ever panel */ /* Generic save for ever panel */
QList<ConfigControl *>::Iterator i; QList<ConfigControl *>::const_iterator i;
for( i = controls.begin() ; i != controls.end() ; ++i ) for( i = controls.begin() ; i != controls.end() ; ++i )
{ {
ConfigControl *c = qobject_cast<ConfigControl *>(*i); ConfigControl *c = qobject_cast<ConfigControl *>(*i);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment