From: | "Johannes Huber (johu)" <johu@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in kde-base/kscd/files: kscd-4.7.4-fix-no-cd-crash.patch |
Date: | Sat, 31 Dec 2011 15:44:00 |
Message-Id: | 20111231154351.59C0A2004C@flycatcher.gentoo.org |
1 | johu 11/12/31 15:43:51 |
2 | |
3 | Added: kscd-4.7.4-fix-no-cd-crash.patch |
4 | Log: |
5 | Revision bump. Adds patch to fix crash with no cd inserted. Thanks Andrea Grazioli <grazioli_andrea@×××××.it>. Fix bug #396573. |
6 | |
7 | (Portage version: 2.2.0_alpha84/cvs/Linux i686) |
8 | |
9 | Revision Changes Path |
10 | 1.1 kde-base/kscd/files/kscd-4.7.4-fix-no-cd-crash.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/kde-base/kscd/files/kscd-4.7.4-fix-no-cd-crash.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/kde-base/kscd/files/kscd-4.7.4-fix-no-cd-crash.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: kscd-4.7.4-fix-no-cd-crash.patch |
16 | =================================================================== |
17 | --- kscd/kscd.cpp 2011-12-02 00:56:20.000000000 +0100 |
18 | +++ kscd/kscd.cpp 2011-12-30 22:26:26.793971589 +0100 |
19 | @@ -69,8 +69,10 @@ |
20 | |
21 | /** Music Brainz initialisation */ |
22 | m_MBManager = new MBManager(); |
23 | + if (devices->getMedia()) |
24 | + { |
25 | m_MBManager->discLookup(devices->getMedia()->currentSource().deviceName()); |
26 | - |
27 | + } |
28 | setupActions(); |
29 | setupContextMenu(); |
30 | } |