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

Contents of /x11-themes/qtcurve-qt4/files/qtcurve-qt4-1.1.0-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-23 00:15:27.000000000 +0200
2 +++ style/qtcurve.cpp 2010-02-23 10:04:39.547860699 +0200
3 @@ -7445,7 +7445,8 @@
4
5 opt.state=State_Horizontal|State_Enabled|State_Raised|(active ? State_Active : State_None);
6
7 -#if KDE_IS_VERSION(4, 3, 0)
8 +#ifndef QTC_QT_ONLY
9 + #if KDE_IS_VERSION(4, 3, 0)
10 QPainterPath path(opts.round<ROUND_SLIGHT
11 ? QPainterPath()
12 : buildPath(QRectF(state&QtC_StateKWinNoBorder ? r : r.adjusted(1, 1, -1, 0)),
13 @@ -7454,6 +7455,9 @@
14 (opts.round>ROUND_SLIGHT /*&& kwin*/
15 ? 6.0
16 : 2.0)-(state&QtC_StateKWinNoBorder ? 0.0 : 1.0)));
17 + #else
18 + QPainterPath path;
19 + #endif
20 #else
21 QPainterPath path;
22 #endif

  ViewVC Help
Powered by ViewVC 1.1.20