From e2769ccc703b3c11f83597d134f63200ed968877 Mon Sep 17 00:00:00 2001 From: Aditya Kulkarni Date: Thu, 24 Oct 2019 11:31:57 -0700 Subject: [PATCH] Cleanup debug messages --- src/connection.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/connection.cpp b/src/connection.cpp index 9f9a223..0e93778 100644 --- a/src/connection.cpp +++ b/src/connection.cpp @@ -149,8 +149,6 @@ void Executor::run() { void Callback::processRPCCallback(json resp) { - const bool isGuiThread = QThread::currentThread() == QCoreApplication::instance()->thread(); - qDebug() << "Doing RPC callback: isGUI=" << isGuiThread; this->cb(resp); // Destroy self @@ -158,8 +156,6 @@ void Callback::processRPCCallback(json resp) { } void Callback::processError(QString resp) { - const bool isGuiThread = QThread::currentThread() == QCoreApplication::instance()->thread(); - qDebug() << "Doing RPC callback: isGUI=" << isGuiThread; this->errCb(resp); // Destroy self @@ -181,9 +177,7 @@ void Connection::doRPC(const QString cmd, const QString args, const std::functio return; } - const bool isGuiThread = - QThread::currentThread() == QCoreApplication::instance()->thread(); - qDebug() << "Doing RPC: isGUI=" << isGuiThread; + qDebug() << "Doing RPC: " << cmd; // Create a runner. auto runner = new Executor(cmd, args);