[Bug 290341] KMail crashes when editing IMAP ACL
Laurent Montel
montel at kde.org
Thu Jan 12 18:30:51 GMT 2012
https://bugs.kde.org/show_bug.cgi?id=290341
Laurent Montel <montel at kde.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |montel at kde.org
--- Comment #1 from Laurent Montel <montel kde org> 2012-01-12 18:30:51 ---
Can't reproduce it.
But code is:
void AclEntryDialog::setPermissions( KIMAP::Acl::Rights permissions )
{
QAbstractButton* button = d->mButtonGroup->button(
KIMAP::Acl::normalizedRights( permissions ) );
if ( button ) {
button->setChecked( true );
} else {
QRadioButton *radioButton = new QRadioButton(
AclUtils::permissionsToUserString( permissions ) );
d->mButtonLayout->addWidget( radioButton );
d->mButtonGroup->addButton( radioButton, permissions );
}
d->mCustomPermissions = permissions;
}
I don't understand why it crashs because we add just an radiobutton
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Kdepim-bugs
mailing list