From 7fb34ca0f33c4869a3c7e35401d4b3ad8e77556e Mon Sep 17 00:00:00 2001 From: Justin McPherson Date: Wed, 11 Nov 2009 12:26:04 +1000 Subject: 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 --- src/3rdparty/phonon/phonon/path.cpp | 4 ++-- 1 file 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 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)); } } -- cgit v0.12