Commit 81a3e4f7 authored by Gustavo Carneiro's avatar Gustavo Carneiro

Use SessionDisplayConnection.

parent e2c02ce6
......@@ -113,8 +113,6 @@ int SessionController::_lastControllerId;
SessionController::SessionController(Session* session, TerminalDisplay* view, QObject* parent)
: ViewProperties(parent)
, KXMLGUIClient()
, _session(session)
, _view(view)
, _copyToGroup(nullptr)
, _profileList(nullptr)
, _sessionIcon(QIcon())
......@@ -1308,7 +1306,7 @@ void SessionController::updateFilterList(Profile::Ptr profile)
delete _escapedUrlFilter;
_escapedUrlFilter = nullptr;
} else if (allowEscapeSequenceLinks && _escapedUrlFilter == nullptr) {
_escapedUrlFilter = new EscapeSequenceUrlFilter(_session, _view);
_escapedUrlFilter = new EscapeSequenceUrlFilter(_sessionDisplayConnection->session(), _sessionDisplayConnection->view());
filterChain->addFilter(_escapedUrlFilter);
}
}
......
......@@ -317,8 +317,6 @@ private:
void updateSessionIcon();
void updateReadOnlyActionStates();
QPointer<Session> _session;
QPointer<TerminalDisplay> _view;
SessionGroup *_copyToGroup;
SessionDisplayConnection *_sessionDisplayConnection;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment