before I started to mess it up
void KMImapJob::slotGetMessageResult(KIO::Job * job)
{
+ if( !mMsg || !mMsg->parent() )
+ return;
KMAcctImap *account = static_cast<KMFolderImap*>(mMsg->parent())->account();
svn path=/trunk/kdenetwork/kmail/; revision=181310
#0 0x4013ea80 in QGuardedPtrPrivate::object() const (this=0x0)
at /coolo/prod/qt-copy/include/qguardedptr.h:131
#1 0x4016b352 in QGuardedPtr<KMAcctImap>::operator KMAcctImap*() const (this=0x91627f8)
at /coolo/prod/qt-copy/include/qguardedptr.h:112
#2 0x4016afd4 in KMFolderImap::account() (this=0x91626c0)
at /coolo/prod/kdenetwork/kmail/kmfolderimap.h:103
#3 0x40245146 in KMImapJob::slotGetMessageResult(KIO::Job*) (this=0x8bf1ef0,
job=0x8adbc18) at /coolo/prod/kdenetwork/kmail/kmfolderimap.cpp:1163
- KMAcctImap *account = static_cast<KMFolderImap*>(mMsg->parent())->account();
+ KMMessage *msg = mMsgList.first();
+ KMFolderImap * folder = static_cast<KMFolderImap*>(msg->parent());
+ if (!folder) // guarded ptr - can be 0
+ return;
+ KMAcctImap *account = folder->account();
(there seems to be more places in the code where this construct is used though)
CCMAIL: kmail@kde.org
svn path=/trunk/kdenetwork/kmail/; revision=181228
debug output (only for the moment) to the IMAP methods to find out why it's broken
(finally got a few IMAP accounts, hopefully today few fixes for it will land)
svn path=/trunk/kdenetwork/kmail/; revision=169280
Every action on an imap-message first checks if the message is complete and initiates a download if appropriate
A modal progress-dialog is shown when the message(s) is/are transferred
svn path=/trunk/kdenetwork/kmail/; revision=159657
Activate them via View-menu or rmb-menu from the tree-header.
Changed the qpopup for the folder-context-menu to kpopup to be consistent with the rest.
svn path=/trunk/kdenetwork/kmail/; revision=153547
While it's not absolutely critical as a good server shouldn't do that, it
would still be nice, if the tag could be moved for this and Ingo's latest
commit.
diff -u -3 -p -r1.55 kmfolderimap.cpp
--- kmfolderimap.cpp 2002/03/05 06:43:48 1.55
+++ kmfolderimap.cpp 2002/03/24 13:33:11
@@ -589,6 +589,7 @@ kdDebug(5006) << "KMFolderImap::slotChec
if (uidValidity() != uidv)
{
expunge();
+ mLastUid = 0;
} else {
if (!mCheckFlags)
startUid = QString::number(lastUid() + 1);
svn path=/trunk/kdenetwork/kmail/; revision=144850
- Don't parse /etc/services 20 times
- Don't call i18n("inbox") 250 times
- Don't look for an utf7 QTextCodec 200 times
svn path=/trunk/kdenetwork/kmail/; revision=134842
KMFolderComboBox, etc...
o when a search window is already open, starting the search action from the
mainwindow will cause the currently selected folder to be selected in the
folder combo box
o preserve geometry of window and search list headers
svn path=/trunk/kdenetwork/kmail/; revision=130498
no longer overwritten by the flags on the server and checking for new mails
only reports the really new mails.
svn path=/trunk/kdenetwork/kmail/; revision=130054
some servers have some issues with EXAMINE.
- Check for new mails with FETCH instead of STATUS. This doesn't require to
close the current mailbox and works around a bug in the Courier server.
- Don't execute useless commands, when listing the folder names
svn path=/trunk/kdenetwork/kmail/; revision=126333
Also this fixes a minor bug in kmpopfiltercnfrmdlg.cpp (5th hunk)
and removes unneeded includes from kmpopfilter..dlg.h.
svn path=/trunk/kdenetwork/kmail/; revision=125200
We beat now quite some other clients in this area, just Mozilla is still
25% faster. Hopefully also fixed soon :-)
svn path=/trunk/kdenetwork/kmail/; revision=124314