Cleanup debug messages
This commit is contained in:
@@ -149,8 +149,6 @@ void Executor::run() {
|
|||||||
|
|
||||||
|
|
||||||
void Callback::processRPCCallback(json resp) {
|
void Callback::processRPCCallback(json resp) {
|
||||||
const bool isGuiThread = QThread::currentThread() == QCoreApplication::instance()->thread();
|
|
||||||
qDebug() << "Doing RPC callback: isGUI=" << isGuiThread;
|
|
||||||
this->cb(resp);
|
this->cb(resp);
|
||||||
|
|
||||||
// Destroy self
|
// Destroy self
|
||||||
@@ -158,8 +156,6 @@ void Callback::processRPCCallback(json resp) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void Callback::processError(QString resp) {
|
void Callback::processError(QString resp) {
|
||||||
const bool isGuiThread = QThread::currentThread() == QCoreApplication::instance()->thread();
|
|
||||||
qDebug() << "Doing RPC callback: isGUI=" << isGuiThread;
|
|
||||||
this->errCb(resp);
|
this->errCb(resp);
|
||||||
|
|
||||||
// Destroy self
|
// Destroy self
|
||||||
@@ -181,9 +177,7 @@ void Connection::doRPC(const QString cmd, const QString args, const std::functio
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
const bool isGuiThread =
|
qDebug() << "Doing RPC: " << cmd;
|
||||||
QThread::currentThread() == QCoreApplication::instance()->thread();
|
|
||||||
qDebug() << "Doing RPC: isGUI=" << isGuiThread;
|
|
||||||
|
|
||||||
// Create a runner.
|
// Create a runner.
|
||||||
auto runner = new Executor(cmd, args);
|
auto runner = new Executor(cmd, args);
|
||||||
|
|||||||
Reference in New Issue
Block a user