public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in kde-misc/nightmode/files: nightmode-0.3-kde-4.10.patch
@ 2013-09-08 13:45 Michael Palimaka (kensington)
  0 siblings, 0 replies; only message in thread
From: Michael Palimaka (kensington) @ 2013-09-08 13:45 UTC (permalink / raw
  To: gentoo-commits

kensington    13/09/08 13:45:42

  Added:                nightmode-0.3-kde-4.10.patch
  Log:
  Add patch to fix build with KDE 4.10, wrt bug #484102.
  
  (Portage version: 2.2.1/cvs/Linux x86_64, signed Manifest commit with key 675D0D2C)

Revision  Changes    Path
1.1                  kde-misc/nightmode/files/nightmode-0.3-kde-4.10.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/kde-misc/nightmode/files/nightmode-0.3-kde-4.10.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/kde-misc/nightmode/files/nightmode-0.3-kde-4.10.patch?rev=1.1&content-type=text/plain

Index: nightmode-0.3-kde-4.10.patch
===================================================================
Fixes build error caused by API changes in KDE 4.10

--- nightmode.cpp
+++ nightmode.cpp
@@ -74,7 +74,7 @@
 void NightmodeEffect::paintWindow(EffectWindow *w, int mask, QRegion region, WindowPaintData &data )
 {
     if (m_active) {
-        data.brightness *= (m_brightness / 100.0);
+        data.setBrightness(data.brightness() * (m_brightness / 100.0));
 //         data.saturation *= (m_brightness / 100.0);
     }
     effects->paintWindow( w, mask, region, data );





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-09-08 13:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-08 13:45 [gentoo-commits] gentoo-x86 commit in kde-misc/nightmode/files: nightmode-0.3-kde-4.10.patch Michael Palimaka (kensington)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox