From kde-commits Mon Aug 22 14:20:04 2005 From: Don Sanders Date: Mon, 22 Aug 2005 14:20:04 +0000 To: kde-commits Subject: branches/KDE/3.5/kdepim/kmail Message-Id: <1124720404.996015.1124.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=112472043305164 SVN commit 452073 by sanders: Ensure old style recpients editor continues to work for the 3.5 release. (Using RecipientsEditorType=0 in [Composer] section of kmailrc technique) There's still a visual glitch, the names of fields on the left are obscured, this can be corrected (for the current mail) by using the view menu to toggle off/on a field like From. For Bill Nugent CCMAIL:whn@lopi.com M +4 -2 kmcomposewin.cpp --- branches/KDE/3.5/kdepim/kmail/kmcomposewin.cpp #452072:452073 @@ -854,7 +854,8 @@ row = 0; kdDebug(5006) << "KMComposeWin::rethinkFields" << endl; - mLabelWidth = mRecipientsEditor->setFirstColumnWidth( 0 ); + if (mRecipientsEditor) + mLabelWidth = mRecipientsEditor->setFirstColumnWidth( 0 ); mLabelWidth = calcColumnWidth( HDR_IDENTITY, showHeaders, mLabelWidth ); mLabelWidth = calcColumnWidth( HDR_DICTIONARY, showHeaders, mLabelWidth ); mLabelWidth = calcColumnWidth( HDR_FCC, showHeaders, mLabelWidth ); @@ -984,7 +985,8 @@ if ( mBccAction ) mBccAction->setEnabled(!mAllFieldsAction->isChecked()); mFccAction->setEnabled(!mAllFieldsAction->isChecked()); mSubjectAction->setEnabled(!mAllFieldsAction->isChecked()); - mRecipientsEditor->setFirstColumnWidth( mLabelWidth ); + if (mRecipientsEditor) + mRecipientsEditor->setFirstColumnWidth( mLabelWidth ); } QWidget *KMComposeWin::connectFocusMoving( QWidget *prev, QWidget *next )