diff --git a/loggingwindow.cpp b/loggingwindow.cpp index 1e0a1ae..15af169 100644 --- a/loggingwindow.cpp +++ b/loggingwindow.cpp @@ -27,8 +27,6 @@ loggingWindow::loggingWindow(QWidget *parent) : connect(socket, SIGNAL(disconnected()), this, SLOT(disconnectedFromHost())); connect(socket, SIGNAL(readyRead()), this, SLOT(handleDataFromLoggingHost())); connect(socket, SIGNAL(error(QAbstractSocket::SocketError)), this, SLOT(handleLoggingHostError(QAbstractSocket::SocketError))); - - ui->debugBtn->setHidden(true); // this button doesn't work yet. } loggingWindow::~loggingWindow() diff --git a/wfmain.cpp b/wfmain.cpp index efd8384..b659955 100644 --- a/wfmain.cpp +++ b/wfmain.cpp @@ -7005,6 +7005,7 @@ void wfmain::handleLogText(QString text) void wfmain::setDebugLogging(bool debugModeOn) { this->debugMode = debugModeOn; + debugModeLogging = debugModeOn; } void wfmain::messageHandler(QtMsgType type, const QMessageLogContext& context, const QString& msg)