Changeset 360:2d5fb9472a6f in SMSSender


Ignore:
Timestamp:
Mar 31, 2014 11:27:34 PM (5 years ago)
Author:
Sämy Zehnder <saemy.zehnder@…>
Branch:
separation-frontend-backend
Message:
  • Fixes endless loop in contact import if an error occured.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • frontend/gui/ui/importcontacts/importcontacts_page_import.cpp

    r327 r360  
    105105    }
    106106
    107     while (!m_contactImporter.importErrors().isEmpty()) {
    108         // FIXME Display all errors.
    109         const EException ex = m_contactImporter.importErrors().first();
    110 
    111         m_guiManager->execErrorDialog(tr("An error occured while importing contacts:"), ex);
     107    foreach (const EException &ex, m_contactImporter.importErrors()) {
     108        m_guiManager->execErrorDialog(
     109                    tr("An error occured while importing contacts:"), ex);
    112110    }
    113111
Note: See TracChangeset for help on using the changeset viewer.