refs #359, fixed loghandler, removed / fine tuning of some output / log messages

see also discussion in #359
This commit is contained in:
Klaus Basan
2014-12-15 23:19:52 +01:00
parent 0ea26f1ce9
commit f62f85b263
6 changed files with 13 additions and 16 deletions

View File

@@ -168,6 +168,7 @@ namespace BlackMisc
if (m_handler)
{
if (! m_inheritFallThrough) { m_handler->inheritConsoleOutput(); }
m_handler->disconnect(this);
}
}

View File

@@ -167,6 +167,7 @@ namespace BlackMisc
bool canBeDeleted()
{
if (! m_inheritFallThrough) { return false; }
static const auto signal = QMetaMethod::fromSignal(&CLogPatternHandler::messageLogged);
return ! isSignalConnected(signal);
}