Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 212153 Details for
Bug 295600
sys-apps/hal-0.5.14 crashes kde plama-workspace in Solid::Control::PowerManager::brightness
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch from http://websvn.kde.org/trunk/KDE/kdebase/workspace/solid/hal/halpower.cpp?r1=929945&r2=1035622&view=patch
solid-4.3.4-fix-hal-brightness-crash.patch (text/plain), 982 bytes, created by
Magnus Kessler
on 2009-12-05 15:54:11 UTC
(
hide
)
Description:
patch from http://websvn.kde.org/trunk/KDE/kdebase/workspace/solid/hal/halpower.cpp?r1=929945&r2=1035622&view=patch
Filename:
MIME Type:
Creator:
Magnus Kessler
Created:
2009-12-05 15:54:11 UTC
Size:
982 bytes
patch
obsolete
>--- trunk/KDE/kdebase/workspace/solid/hal/halpower.cpp 2009/02/22 12:56:23 929945 >+++ trunk/KDE/kdebase/workspace/solid/hal/halpower.cpp 2009/10/15 14:30:24 1035622 >@@ -393,7 +393,11 @@ > if(m_halManager.call("FindDeviceByCapability", "keyboard_backlight").arguments().at(0).toStringList().contains(device)) > { > QDBusInterface deviceInterface("org.freedesktop.Hal", device, "org.freedesktop.Hal.Device.KeyboardBacklight", QDBusConnection::systemBus()); //TODO - I do not have a backlight enabled keyboard, so I'm guessing a bit here. Could someone please check this. >- brightness = deviceInterface.call("GetBrightness").arguments().at(0).toDouble(); >+ >+ QDBusMessage getBrightnessDBusMessage = deviceInterface.call("GetBrightness"); >+ if(!deviceInterface.lastError().isValid()) >+ brightness = getBrightnessDBusMessage.arguments().at(0).toDouble(); >+ > if(deviceInterface.lastError().isValid()) > { > return 0;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 295600
:
211935
| 212153 |
212154
|
212156