Revision 86465c2...

Go back to digest for 28th October 2012

Bug Fixes in KDE Base

Alex Fiestas committed changes in [kde-workspace] /:

Fix PowerDevil generateProfiles to properly detect if toRam is available

The problem is that the DBus interface of powerdevil is being setup AFTER
generateProfile is executed, so libsolid will fail to query powerdevil
for the available suspend methods because powerdevil haven't made them
public yet.

The approach in the fix:
There are many ways of fixing this, the simpler one is to execute the dbus registering before generateProfiles is executed,
the others are based on the same principle of moving the current code around to make libsolid work.

REVIEW: 106859

File Changes

Modified 4 files
  •   powerdevil/daemon/powerdevilcore.cpp
  •   powerdevil/daemon/powerdevilprofilegenerator.cpp
  •   powerdevil/daemon/powerdevilprofilegenerator.h
  •   powerdevil/kcmodule/profiles/EditPage.cpp
4 files changed in total