Changeset View
Changeset View
Standalone View
Standalone View
src/SessionController.cpp
Show First 20 Lines • Show All 224 Lines • ▼ Show 20 Line(s) | 125 | { | |||
---|---|---|---|---|---|
225 | 225 | | |||
226 | _profileList = ProfileManager::instance()->getProfileList(); | 226 | _profileList = ProfileManager::instance()->getProfileList(); | ||
227 | connect(_profileList, &ProfileList::actionsChanged, this, &Konsole::SessionController::prepareSwitchProfileMenu); | 227 | connect(_profileList, &ProfileList::actionsChanged, this, &Konsole::SessionController::prepareSwitchProfileMenu); | ||
228 | prepareSwitchProfileMenu(); | 228 | prepareSwitchProfileMenu(); | ||
229 | } | 229 | } | ||
230 | 230 | | |||
231 | SessionController::~SessionController() | 231 | SessionController::~SessionController() | ||
232 | { | 232 | { | ||
233 | if (!_view.isNull()) { | | |||
234 | _view->setScreenWindow(nullptr); | | |||
235 | } | | |||
236 | | ||||
237 | _allControllers.remove(this); | 233 | _allControllers.remove(this); | ||
238 | 234 | | |||
239 | if (!_editProfileDialog.isNull()) { | 235 | if (!_editProfileDialog.isNull()) { | ||
240 | delete _editProfileDialog.data(); | 236 | delete _editProfileDialog.data(); | ||
241 | } | 237 | } | ||
242 | } | 238 | } | ||
243 | void SessionController::trackOutput(QKeyEvent* event) | 239 | void SessionController::trackOutput(QKeyEvent* event) | ||
244 | { | 240 | { | ||
▲ Show 20 Lines • Show All 1551 Lines • Show Last 20 Lines |