Gentoo Archives: gentoo-commits

From: "Johannes Huber (johu)" <johu@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in kde-base/kmail/files: kmail-4.14.6-fix-crash.patch
Date: Sun, 29 Mar 2015 13:14:26
Message-Id: 20150329131409.4AFD714C84@oystercatcher.gentoo.org
1 johu 15/03/29 13:14:08
2
3 Added: kmail-4.14.6-fix-crash.patch
4 Log:
5 Version bump KDE PIM 4.14.6
6
7 (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 0xF3CFD2BD)
8
9 Revision Changes Path
10 1.1 kde-base/kmail/files/kmail-4.14.6-fix-crash.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/kde-base/kmail/files/kmail-4.14.6-fix-crash.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/kde-base/kmail/files/kmail-4.14.6-fix-crash.patch?rev=1.1&content-type=text/plain
14
15 Index: kmail-4.14.6-fix-crash.patch
16 ===================================================================
17 commit b6196bc1fd489a5be69731ca9a19d8a95f721570
18 Author: Montel Laurent <montel@×××.org>
19 Date: Thu Mar 12 07:48:15 2015 +0100
20
21 Fix Bug 345071 - KMail crashed while I was reading an email
22
23 BUG: 345071
24 FIXED-IN: 4.16.7
25
26 diff --git a/kmail/kmmainwidget.cpp b/kmail/kmmainwidget.cpp
27 index 2228aef..92ba8c5 100644
28 --- a/kmail/kmmainwidget.cpp
29 +++ b/kmail/kmmainwidget.cpp
30 @@ -4498,5 +4498,6 @@ void KMMainWidget::populateMessageListStatusFilterCombo()
31
32 void KMMainWidget::slotCollectionRemoved(const Akonadi::Collection &col)
33 {
34 - mFavoritesModel->removeCollection(col);
35 + if (mFavoritesModel)
36 + mFavoritesModel->removeCollection(col);
37 }