Debug mode can now be toggled from the logging window.

knobtest
Elliott Liggett 2022-09-15 09:53:50 -07:00
rodzic d25c9ca245
commit c5f626065a
2 zmienionych plików z 1 dodań i 2 usunięć

Wyświetl plik

@ -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()

Wyświetl plik

@ -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)