Fix crash when retrieving active connection list

Review Request #130111 - Created April 29, 2017 and submitted

Information
Lamarque Souza
networkmanager-qt
373393
Reviewers
networkmanagement
grulich

We use const_interator in this code but findRegisteredActiveConnection() changes the list while we iterate over it.

Plasma NM still works and no crashes so far. I cannot reproduce the crash because it is intermitent.

Jan Grulich
Lamarque Souza
Review request changed

Status: Closed (submitted)

Change Summary:

Submitted with commit 0d5a02e562749af42265c00fc3423817476d5534 by Lamarque V. Souza to branch master.
Loading...