KWhatsBroken tells me this slot doesn't exist. I agree. I also think that

changing the selected entry should not trigger accept() automatically as that
would be rather unexpected.

CCMAIL: kmail@kde.org

svn path=/trunk/kdepim/; revision=268909
wilder-work
George Staikos 23 years ago
parent 088d0c12ab
commit 3bfcafe5e6
  1. 4
      kmfolderseldlg.cpp

@ -163,7 +163,7 @@ KMFolderSelDlg::KMFolderSelDlg( KMMainWidget * parent, const QString& caption )
mTreeView = new KMail::SimpleFolderTree( makeVBoxMainWidget(), ft, oldSelection );
mTreeView->setFocus();
connect( mTreeView, SIGNAL( selected( int ) ), this, SLOT( slotSelect( int ) ) );
//connect( mTreeView, SIGNAL( selected( int ) ), this, SLOT( slotSelect( int ) ) );
resize(220, 300);
}
@ -194,7 +194,7 @@ void KMFolderSelDlg::slotSelect( int )
//-----------------------------------------------------------------------------
void KMFolderSelDlg::slotCancel()
{
disconnect( mTreeView, SIGNAL( selected( int ) ), this, SLOT( slotSelect( int ) ) );
//disconnect( mTreeView, SIGNAL( selected( int ) ), this, SLOT( slotSelect( int ) ) );
reject();
}

Loading…
Cancel
Save