Diffusion Kube dcf7aa4bc5f2

Don't crash when removing last account

Authored by ahunt on Feb 28 2017, 10:58 AM.

Description

Don't crash when removing last account

Summary:
Under certain circumstances, removing the last (or only) remaining account
causes kube to crash.

Steps to reproduce:

  1. clear all sink config folders
  2. start kube, add a generic IMAP account
  3. close kube, reopen kube
  4. open accounts list, select "edit"
  5. Select "Delete" -> kube crashes

Reviewers: Kube, cmollekopf, aacid

Reviewed By: Kube, cmollekopf

Subscribers: aacid, cmollekopf

Differential Revision: https://phabricator.kde.org/D4517

Details

Committed
cmollekopfFeb 28 2017, 11:11 AM
Reviewer
Kube
Differential Revision
D4517: Don't crash when removing last account
Parents
R162:f0272f90fdb2: Don't use initialiser list syntax for reference
Branches
Unknown
Tags
Unknown