diff options
Diffstat (limited to 'tdecore/tdehw/tdecpudevice.cpp')
-rw-r--r-- | tdecore/tdehw/tdecpudevice.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tdecore/tdehw/tdecpudevice.cpp b/tdecore/tdehw/tdecpudevice.cpp index d02cf77f1..c5514ff4e 100644 --- a/tdecore/tdehw/tdecpudevice.cpp +++ b/tdecore/tdehw/tdecpudevice.cpp @@ -144,7 +144,7 @@ bool TDECPUDevice::canSetGovernor() { params << TQT_DBusData::fromInt32(coreNumber()); TQT_DBusMessage reply = hardwareControl.sendWithReply("CanSetCPUGovernor", params); if (reply.type() == TQT_DBusMessage::ReplyMessage && reply.count() == 1) { - return reply[0].toVariant().value.toBool(); + return reply[0].toBool(); } } } |