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 ) );