Make it compile, but am *not* sure if my solution is really correct.

svn path=/trunk/kdenetwork/kmail/; revision=181295
wilder-work
Karl-Heinz Zimmer 24 years ago
parent 20e33e1800
commit a00c192598
  1. 6
      kmfolderimap.cpp

@ -1118,7 +1118,11 @@ void KMImapJob::slotGetNextMessage()
//-----------------------------------------------------------------------------
void KMImapJob::slotGetMessageResult(KIO::Job * job)
{
KMMessage *msg = mMsgList.first();
if( !mMsg )
return;
KMMessage *msg = mMsg; // was: mMsgList.first();
// This did not compile since mMsgList
// is not a member of KMImapJob.
KMFolderImap * folder = static_cast<KMFolderImap*>(msg->parent());
if (!folder) // guarded ptr - can be 0
return;

Loading…
Cancel
Save