SessionController: use session() and view() member functions

They make reading the code easier than
_sessionDisplayConnection->view()/session().

GIT_SILENT
wilder
Ahmad Samir 5 years ago
parent 200e910fbc
commit 9eddcdb204
  1. 364
      src/session/SessionController.cpp
  2. 4
      src/session/SessionController.h

File diff suppressed because it is too large Load Diff

@ -84,13 +84,13 @@ public:
~SessionController() override;
/** Returns the session associated with this controller */
QPointer<Session> session()
QPointer<Session> session() const
{
return _sessionDisplayConnection->session();
}
/** Returns the view associated with this controller */
QPointer<TerminalDisplay> view()
QPointer<TerminalDisplay> view() const
{
return _sessionDisplayConnection->view();
}

Loading…
Cancel
Save