| 74 | } |
| 75 | |
| 76 | void ClosedWorkingSetsWidget::changedWorkingSet(Sublime::Area *area, Sublime::Area*, const QString &from, const QString &to) |
| 77 | { |
| 78 | Q_ASSERT(area == m_connectedArea); |
| 79 | Q_UNUSED(area); |
| 80 | |
| 81 | if (!from.isEmpty()) { |
| 82 | WorkingSet* oldSet = workingSet(from); |
| 83 | addWorkingSet(oldSet); |
| 84 | } |
| 85 | |
| 86 | if (!to.isEmpty()) { |
| 87 | WorkingSet* newSet = workingSet(to); |
| 88 | removeWorkingSet(newSet); |
| 89 | } |
| 90 | } |
| 91 | |
| 92 | void ClosedWorkingSetsWidget::removeWorkingSet( WorkingSet* set ) |
| 93 | { |
nothing calls this directly
no test coverage detected