From: | "Andreas HAttel (dilfridge)" <dilfridge@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in kde-base/kdelibs/files: kdelibs-4.4.5-formpainter.patch |
Date: | Thu, 30 Dec 2010 17:35:33 |
Message-Id: | 20101230173523.3BC8B20057@flycatcher.gentoo.org |
1 | dilfridge 10/12/30 17:35:23 |
2 | |
3 | Added: kdelibs-4.4.5-formpainter.patch |
4 | Log: |
5 | Added upstream patch to kill the multitudes of QPainter::...: Painter not active error messages. Should fix bug 341289, please test. |
6 | |
7 | (Portage version: 2.1.9.26/cvs/Linux i686) |
8 | |
9 | Revision Changes Path |
10 | 1.1 kde-base/kdelibs/files/kdelibs-4.4.5-formpainter.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/kde-base/kdelibs/files/kdelibs-4.4.5-formpainter.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/kde-base/kdelibs/files/kdelibs-4.4.5-formpainter.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: kdelibs-4.4.5-formpainter.patch |
16 | =================================================================== |
17 | Index: kdelibs/khtml/khtmlview.cpp |
18 | =================================================================== |
19 | --- kdelibs/khtml/khtmlview.cpp (Revision 1185321) |
20 | +++ kdelibs/khtml/khtmlview.cpp (Revision 1185322) |
21 | @@ -2135,17 +2135,6 @@ |
22 | case QEvent::DragLeave: |
23 | case QEvent::Drop: |
24 | return false; |
25 | - case QEvent::Paint: { |
26 | - QRect r = static_cast<QPaintEvent*>(e)->rect(); |
27 | - r = r.intersect( widget()->rect() ); |
28 | - if (r.isValid() && !r.isEmpty()) { |
29 | - r.setX(r.x() +contentsX()); |
30 | - r.setY(r.y() +contentsY()); |
31 | - QPaintEvent pe(r); |
32 | - paintEvent(&pe); |
33 | - } |
34 | - return true; |
35 | - } |
36 | default: |
37 | break; |
38 | } |