diff options
Diffstat (limited to 'tdecore/tdehw/tdebacklightdevice.cpp')
-rw-r--r-- | tdecore/tdehw/tdebacklightdevice.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tdecore/tdehw/tdebacklightdevice.cpp b/tdecore/tdehw/tdebacklightdevice.cpp index fdd0787b1..b3f696466 100644 --- a/tdecore/tdehw/tdebacklightdevice.cpp +++ b/tdecore/tdehw/tdebacklightdevice.cpp @@ -82,7 +82,7 @@ bool TDEBacklightDevice::canSetBrightness() { params << TQT_DBusData::fromString(brightnessnode); TQT_DBusMessage reply = hardwareControl.sendWithReply("CanSetBrightness", params); if (reply.type() == TQT_DBusMessage::ReplyMessage && reply.count() == 1) { - return reply[0].toVariant().value.toBool(); + return reply[0].toBool(); } } } |