Fixed the SSL/TLS + messageBox() bug

svn path=/trunk/kdenetwork/kmail/; revision=99506
wilder-work
George Staikos 25 years ago
parent 7962ac55c5
commit dfde9c1864
  1. 11
      kmacctexppop.cpp

@ -563,9 +563,10 @@ void KMAcctExpPop::startJob() {
}
else if (mAuth != "AUTO") mSlaveConfig.insert("auth", mAuth);
slave = KIO::Scheduler::getConnectedSlave( url.url(), mSlaveConfig );
url.setPath(QString("/index"));
job = KIO::get( url.url(), false, false );
connectJob();
// This can't go here. It has to go in slotSlaveConnected()
// url.setPath(QString("/index"));
// job = KIO::get( url.url(), false, false );
// connectJob();
}
void KMAcctExpPop::slotJobFinished() {
@ -818,9 +819,9 @@ void KMAcctExpPop::slotSlaveError(KIO::Slave *aSlave, int error,
void KMAcctExpPop::slotSlaveConnected(KIO::Slave *aSlave)
{
/* if (aSlave != slave) return;
if (aSlave != slave) return;
KURL url = getUrl();
url.setPath(QString("/index"));
job = KIO::get( url.url(), false, false );
connectJob(); */
connectJob();
}

Loading…
Cancel
Save