============================================================================
| 1051 | |
| 1052 | //============================================================================ |
| 1053 | void CDockManager::removePerspectives(const QStringList& Names) |
| 1054 | { |
| 1055 | int Count = 0; |
| 1056 | for (const auto& Name : Names) |
| 1057 | { |
| 1058 | Count += d->Perspectives.remove(Name); |
| 1059 | } |
| 1060 | |
| 1061 | if (Count) |
| 1062 | { |
| 1063 | Q_EMIT perspectivesRemoved(); |
| 1064 | Q_EMIT perspectiveListChanged(); |
| 1065 | } |
| 1066 | } |
| 1067 | |
| 1068 | |
| 1069 | //============================================================================ |