OTHER: use ++iter instead of iter++

This commit is contained in:
Thomas Frauendorfer 2009-03-01 15:41:55 +01:00
parent 6d271f221c
commit 6d7cf47b8f
3 changed files with 4 additions and 4 deletions

View file

@ -251,7 +251,7 @@ PlaylistModel::handle_list (const Xmms::List< unsigned int > &list)
int i = 0;
#if HAVE_XMMSV
for (Xmms::List< int >::const_iterator iter = list.begin();
iter != list.end(); iter ++) {
iter != list.end(); ++iter) {
i++;
}
#else
@ -262,7 +262,7 @@ PlaylistModel::handle_list (const Xmms::List< unsigned int > &list)
beginInsertRows (QModelIndex (), 0, i);
#if HAVE_XMMSV
for (Xmms::List< int >::const_iterator iter = list.begin();
iter != list.end(); iter ++) {
iter != list.end(); ++iter) {
m_plist.append (*iter);
}
#else

View file

@ -166,7 +166,7 @@ XCollection::Private::handle_playlists_list (const Xmms::List< std::string > &li
#if HAVE_XMMSV
for (Xmms::List< std::string >::const_iterator iter = list.begin();
iter != list.end(); iter ++) {
iter != list.end(); ++iter) {
m_playlists.append (XClient::stdToQ(*iter));
}
#else

View file

@ -103,7 +103,7 @@ BrowseModel::list_cb (const Xmms::List< Xmms::Dict > &res)
#if HAVE_XMMSV
for (Xmms::List< Xmms::Dict >::const_iterator iter = res.begin();
iter != res.end(); iter++) {
iter != res.end(); ++iter) {
Xmms::Dict d = *iter;
#else
for (res.first (); res.isValid (); ++res) {