Bug 282612 - uncontrolled bunch of KMessageBox when i had a connection problem with pop3 resouces
Summary: uncontrolled bunch of KMessageBox when i had a connection problem with pop3 r...
Status: RESOLVED DUPLICATE of bug 243605
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: POP3 Resource (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Thomas McGuire
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-23 11:45 UTC by Aleksej
Modified: 2011-09-23 12:43 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Aleksej 2011-09-23 11:45:03 UTC
Version:           unspecified (using KDE 4.7.0) 
OS:                Linux

void POP3Resource::loginJobResult( KJob *job )
{
  if ( job->error() ) {
    kDebug() << job->error() << job->errorText();
    if ( job->error() == KIO::ERR_COULD_NOT_LOGIN && !Settings::self()->storePassword() )
        mAskAgain = true;
    const QString errorString = i18n( "Unable to login to the server %1.", Settings::self()->host() ) + '\n' + job->errorString();
    cancelSync( errorString );
    KMessageBox::sorry( 0, errorString );
  }
  else {
    advanceState( List );
  }
}
 
if i leave my computer offline for a whole night this piece of code will fuck my mind with 100000000 message boxes. How can I turn this feature off ? 


Reproducible: Always
Comment 1 Christophe Marin 2011-09-23 12:43:08 UTC

*** This bug has been marked as a duplicate of bug 243605 ***