diff options
author | Justin McPherson <justin.mcpherson@nokia.com> | 2009-11-11 02:26:04 (GMT) |
---|---|---|
committer | Justin McPherson <justin.mcpherson@nokia.com> | 2009-11-12 05:39:35 (GMT) |
commit | 7fb34ca0f33c4869a3c7e35401d4b3ad8e77556e (patch) | |
tree | b7d2be856772c04dda4635772d47aeb7eff7e9ca /src/3rdparty | |
parent | 5d11248839cee3e22ebddcaffa2af59b34b37969 (diff) | |
download | Qt-7fb34ca0f33c4869a3c7e35401d4b3ad8e77556e.zip Qt-7fb34ca0f33c4869a3c7e35401d4b3ad8e77556e.tar.gz Qt-7fb34ca0f33c4869a3c7e35401d4b3ad8e77556e.tar.bz2 |
Import change 950964 from phonon-svn.
r950964 | dfaure | 2009-04-08 19:26:40 +1000 (Wed, 08 Apr 2009) | 2 lines
fix compilation with -DQT_STRICT_ITERATORS
Reviewed-by: Justin McPherson
Diffstat (limited to 'src/3rdparty')
-rw-r--r-- | src/3rdparty/phonon/phonon/path.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/3rdparty/phonon/phonon/path.cpp b/src/3rdparty/phonon/phonon/path.cpp index ef3530c..20c0fe5 100644 --- a/src/3rdparty/phonon/phonon/path.cpp +++ b/src/3rdparty/phonon/phonon/path.cpp @@ -244,8 +244,8 @@ bool Path::disconnect() //lets build the disconnection list QList<QObjectPair> disco; if (list.count() >=2 ) { - QObjectList::const_iterator it = list.begin(); - for(;it+1 != list.end();++it) { + QObjectList::const_iterator it = list.constBegin(); + for(;it+1 != list.constEnd();++it) { disco << QObjectPair(*it, *(it+1)); } } |