|
|
|
@ -304,14 +304,14 @@ void GenericMonitor::brightnessChange(int direction, int step)
|
|
|
|
|
tdepowersave->send("do_brightnessDown", step);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
DCOPReply reply = tdepowersave->call("brightnessGet");
|
|
|
|
|
/*DCOPReply reply = tdepowersave->call("brightnessGet");
|
|
|
|
|
if (reply.isValid())
|
|
|
|
|
{
|
|
|
|
|
// Display real brightness value. This may differ from the set value
|
|
|
|
|
// on machines with few brightness steps.
|
|
|
|
|
_interface->displayProgress(i18n("Brightness"), (int)reply);
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
else*/
|
|
|
|
|
{
|
|
|
|
|
_interface->displayProgress(i18n("Brightness"), brightnessLevel);
|
|
|
|
|
}
|
|
|
|
|