From 53584d86c4ef4049a1cf252aa8b839b5191f882b Mon Sep 17 00:00:00 2001 From: David Faure Date: Mon, 24 Aug 2009 21:25:19 +0000 Subject: [PATCH] SVN_SILENT fix compilation with strict iterators (to avoid potential detaching) svn path=/trunk/KDE/kdebase/workspace/; revision=1015200 --- clients/nitrogen/nitrogenexceptionlist.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/nitrogen/nitrogenexceptionlist.cpp b/clients/nitrogen/nitrogenexceptionlist.cpp index 173329b567..1edf81b5db 100644 --- a/clients/nitrogen/nitrogenexceptionlist.cpp +++ b/clients/nitrogen/nitrogenexceptionlist.cpp @@ -65,7 +65,7 @@ namespace Nitrogen // also add exceptions int index(0); - for( NitrogenExceptionList::const_iterator iter = begin(); iter != end(); iter++, index++ ) + for( NitrogenExceptionList::const_iterator iter = constBegin(); iter != constEnd(); iter++, index++ ) { KConfigGroup group( &config, exceptionGroupName( index ) );