this looks crashy (and I guess this is the same with 3.5) (CID 3205)

svn path=/trunk/KDE/kdepim/; revision=643168
wilder-work
Stephan Kulow 19 years ago
parent 4bdccc0768
commit fa82cb9592
  1. 5
      customtemplates.cpp

@ -316,9 +316,10 @@ void CustomTemplates::slotTypeActivated( int index )
if ( mCurrentItem ) {
// mCurrentItem->setText( 0, indexToType( index ) );
CustomTemplateItem *vitem = mItemList[ mCurrentItem->text( 1 ) ];
if ( vitem ) {
vitem->mType = static_cast<Type>(index);
if ( !vitem ) {
return;
}
vitem->mType = static_cast<Type>(index);
switch ( vitem->mType ) {
case TReply:
mCurrentItem->setPixmap( 0, mReplyPix );

Loading…
Cancel
Save