| 233 | UiController::~UiController() = default; |
| 234 | |
| 235 | void UiController::mainWindowAdded(Sublime::MainWindow* mainWindow) |
| 236 | { |
| 237 | connect(mainWindow, &MainWindow::activeToolViewChanged, this, &UiController::slotActiveToolViewChanged); |
| 238 | connect(mainWindow, &MainWindow::toolViewVisibilityRestored, this, &UiController::toolViewVisibilityRestored); |
| 239 | connect(mainWindow, &MainWindow::areaCleared, Core::self()->workingSetControllerInternal(), &WorkingSetController::saveArea); |
| 240 | } |
| 241 | |
| 242 | void UiController::switchToArea(const QString &areaName, SwitchMode switchMode) |
| 243 | { |
nothing calls this directly
no test coverage detected