Remove pseudo-code pushed in error.

Change-Id: Iad9a5d8cf5527f8803fb125f9f9b190a51070ad0
This commit is contained in:
Michael Meeks 2020-10-26 19:59:55 +00:00
parent 6bf4040bcb
commit 1a16ef9cdf
2 changed files with 0 additions and 14 deletions

View file

@ -112,14 +112,6 @@ void ChildSession::disconnect()
}
bool ChildSession::_handleInput(const char *buffer, int length)
{
bool ret = doHandleInput(buffer, length);
getLOKitDocument()->setView(GlobalNastyViewId);
return ret;
}
bool ChildSession::doHandleInput(const char *buffer, int length)
{
LOG_TRC(getName() << ": handling [" << getAbbreviatedMessage(buffer, length) << "].");
const std::string firstLine = getFirstLine(buffer, length);

View file

@ -1228,8 +1228,6 @@ private:
// Only save the options on opening the document.
// No support for changing them after opening a document.
_renderOpts = renderOpts;
GlobalNastyViewId = _loKitDocument->createView("" /* ?? */);
}
else
{
@ -1791,10 +1789,6 @@ public:
return -1;
}
#endif
// No idea if this is slightly fair ;-)
getLOKitDocument()->setView(GlobalNastyViewId);
// Report the number of events we processed.
return eventsSignalled;
}