diff --git a/kit/ChildSession.cpp b/kit/ChildSession.cpp index 8f0c6b523..97ef7ced7 100644 --- a/kit/ChildSession.cpp +++ b/kit/ChildSession.cpp @@ -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); diff --git a/kit/Kit.cpp b/kit/Kit.cpp index d45f4209d..329b52c38 100644 --- a/kit/Kit.cpp +++ b/kit/Kit.cpp @@ -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; }