On Thu, Jul 05, 2007 at 10:14:04AM +0200, Danny Kukawka wrote:
> On Donnerstag, 5. Juli 2007, Xavier wrote:
> > Hi,
> >
> > I have the following bug:
> > kpowersave crashes when I open the configure dialog box.
> >
> > I'm using kpowersave 0.7.2.
> >
> > I looked at the code and I have the following clue.
> >
> > In file configuredialog.cpp:75
> >
> > // check if brightness is supported
> > if((brightnessLevels = (hwinfo->getMaxBrightnessLevel()-1)) >= 0) {

using  >= 1 herer should fix this, i guess.
One level is not really "brightness setting support" :-)
-- 
Stefan Seyfried
QA / R&D Team Mobile Devices        |              "Any ideas, John?"
SUSE LINUX Products GmbH, Nürnberg  | "Well, surrounding them's out." 

This footer brought to you by insane German lawmakers:
SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
_______________________________________________
powersave-devel mailing list
[email protected]
http://forge.novell.com/mailman/listinfo/powersave-devel

Reply via email to