Commit 55aa9360 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii

Fix compilation error when SA_TRACE is 1

Summary:
The error itself:

```
/home/vlad/Workspace/KDE/src/kde/workspace/libksysguard/ksgrd/SensorAgent.cpp: In member function ‘void KSGRD::SensorAgent::executeCommand()’:
/home/vlad/Workspace/KDE/src/kde/workspace/libksysguard/ksgrd/SensorAgent.cpp:210:60: error: ‘class QString’ has no member named ‘toAscii’
     qCDebug(LIBKSYSGUARD_KSGRD) << ">> " << req->request().toAscii() << "(" << mInputFIFO.count()
                                                            ^~~~~~~
ninja: build stopped: subcommand failed.
```

Reviewers: davidedmundson

Reviewed By: davidedmundson

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D19971
parent 839be94e
......@@ -207,7 +207,7 @@ void SensorAgent::executeCommand()
SensorRequest *req = mInputFIFO.dequeue();
#if SA_TRACE
qCDebug(LIBKSYSGUARD_KSGRD) << ">> " << req->request().toAscii() << "(" << mInputFIFO.count()
qCDebug(LIBKSYSGUARD_KSGRD) << ">> " << req->request() << "(" << mInputFIFO.count()
<< "/" << mProcessingFIFO.count() << ")" << endl;
#endif
// send request to daemon
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment