mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 01:05:34 +08:00
refs #359, fixed loghandler, removed / fine tuning of some output / log messages
see also discussion in #359
This commit is contained in:
@@ -168,6 +168,7 @@ namespace BlackMisc
|
||||
|
||||
if (m_handler)
|
||||
{
|
||||
if (! m_inheritFallThrough) { m_handler->inheritConsoleOutput(); }
|
||||
m_handler->disconnect(this);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -167,6 +167,7 @@ namespace BlackMisc
|
||||
|
||||
bool canBeDeleted()
|
||||
{
|
||||
if (! m_inheritFallThrough) { return false; }
|
||||
static const auto signal = QMetaMethod::fromSignal(&CLogPatternHandler::messageLogged);
|
||||
return ! isSignalConnected(signal);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user