/[gentoo-x86]/x11-themes/qtcurve-qt4/files/qtcurve-qt4-1.1.1-no-kde-fail.patch
Gentoo

Contents of /x11-themes/qtcurve-qt4/files/qtcurve-qt4-1.1.1-no-kde-fail.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sat Jan 29 18:12:52 2011 UTC (3 years, 10 months ago) by scarabeus
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
Version bump. Drop older.

(Portage version: 2.2.0_alpha19/cvs/Linux x86_64)

1 --- style/qtcurve.cpp.old 2010-02-26 16:06:50.280829619 +0200
2 +++ style/qtcurve.cpp 2010-02-26 16:07:31.224827593 +0200
3 @@ -7451,9 +7451,8 @@
4
5 opt.state=State_Horizontal|State_Enabled|State_Raised|(active ? State_Active : State_None);
6
7 -#ifdef QTC_QT_ONLY
8 - QPainterPath path;
9 -#elif KDE_IS_VERSION(4, 3, 0)
10 +#ifndef QTC_QT_ONLY
11 + #if KDE_IS_VERSION(4, 3, 0)
12 QPainterPath path(opts.round<ROUND_SLIGHT
13 ? QPainterPath()
14 : buildPath(QRectF(state&QtC_StateKWinNoBorder ? r : r.adjusted(1, 1, -1, 0)),
15 @@ -7462,6 +7461,9 @@
16 (opts.round>ROUND_SLIGHT /*&& kwin*/
17 ? 6.0
18 : 2.0)-(state&QtC_StateKWinNoBorder ? 0.0 : 1.0)));
19 + #else
20 + QPainterPath path;
21 + #endif
22 #else
23 QPainterPath path;
24 #endif

  ViewVC Help
Powered by ViewVC 1.1.20