* Fixed crash upon close of a main- or composer window.

Bug seems to be introduced by changed behaviour of KTMainWindow.
Still KMail crashes when you click on any message afterwards.

I don't have time or fun in finding this bug which I don't feel guily of
at all.

svn path=/trunk/kdenetwork/kmail/; revision=10717
wilder-work
Stefan Taferner 28 years ago
parent 4c1c066f7d
commit caaf05694c
  1. 4
      ChangeLog
  2. 1
      kmcomposewin.cpp
  3. 2
      kmcomposewin.h
  4. 2
      kmtopwidget.cpp

@ -1,5 +1,9 @@
1998-09-26 Stefan Taferner <taferner@kde.org> (KMail-0.8.1)
* Fixed crash upon close of a main- or composer window.
Bug seems to be introduced by changed behaviour of KTMainWindow.
Still KMail crashes when you click on any message afterwards.
* Addressbook: finally fixed bug in not reading last line.
Thanks to all who reported!

@ -92,6 +92,7 @@ WindowList* windowList=new WindowList;
#define HDR_STANDARD (HDR_SUBJECT|HDR_TO|HDR_CC)
#endif
QString KMComposeWin::mPathAttach = 0;
//-----------------------------------------------------------------------------
KMComposeWin::KMComposeWin(KMMessage *aMsg) : KMComposeWinInherited(),

@ -313,7 +313,7 @@ protected:
short mMnuIdUrgent, mMnuIdConfDeliver, mMnuIdConfRead;
QString mForeColor, mBackColor, mBodyFont;
QList<QLineEdit> mEdtList;
QString mPathAttach;
static QString mPathAttach;
#ifdef HAS_KSPELL
KSpell* mKSpell;
KSpellConfig* mKSpellConfig;

@ -43,7 +43,7 @@ void KMTopLevelWidget::closeEvent(QCloseEvent* e)
{
writeConfig();
e->ignore();
delete this;
//delete this;
}
}

Loading…
Cancel
Save