kopia lustrzana https://gitlab.com/eliggett/wfview
Debug mode can now be toggled from the logging window.
rodzic
d25c9ca245
commit
c5f626065a
|
@ -27,8 +27,6 @@ loggingWindow::loggingWindow(QWidget *parent) :
|
||||||
connect(socket, SIGNAL(disconnected()), this, SLOT(disconnectedFromHost()));
|
connect(socket, SIGNAL(disconnected()), this, SLOT(disconnectedFromHost()));
|
||||||
connect(socket, SIGNAL(readyRead()), this, SLOT(handleDataFromLoggingHost()));
|
connect(socket, SIGNAL(readyRead()), this, SLOT(handleDataFromLoggingHost()));
|
||||||
connect(socket, SIGNAL(error(QAbstractSocket::SocketError)), this, SLOT(handleLoggingHostError(QAbstractSocket::SocketError)));
|
connect(socket, SIGNAL(error(QAbstractSocket::SocketError)), this, SLOT(handleLoggingHostError(QAbstractSocket::SocketError)));
|
||||||
|
|
||||||
ui->debugBtn->setHidden(true); // this button doesn't work yet.
|
|
||||||
}
|
}
|
||||||
|
|
||||||
loggingWindow::~loggingWindow()
|
loggingWindow::~loggingWindow()
|
||||||
|
|
|
@ -7005,6 +7005,7 @@ void wfmain::handleLogText(QString text)
|
||||||
void wfmain::setDebugLogging(bool debugModeOn)
|
void wfmain::setDebugLogging(bool debugModeOn)
|
||||||
{
|
{
|
||||||
this->debugMode = debugModeOn;
|
this->debugMode = debugModeOn;
|
||||||
|
debugModeLogging = debugModeOn;
|
||||||
}
|
}
|
||||||
|
|
||||||
void wfmain::messageHandler(QtMsgType type, const QMessageLogContext& context, const QString& msg)
|
void wfmain::messageHandler(QtMsgType type, const QMessageLogContext& context, const QString& msg)
|
||||||
|
|
Ładowanie…
Reference in New Issue