| 89 | } |
| 90 | |
| 91 | void WorkingSetToolButton::duplicateSet() |
| 92 | { |
| 93 | Q_ASSERT(m_set); |
| 94 | |
| 95 | if (!saveAllDocumentsForMainWindow()) |
| 96 | return; |
| 97 | WorkingSet* set = Core::self()->workingSetControllerInternal()->newWorkingSet(QStringLiteral("clone")); |
| 98 | set->setPersistent(true); |
| 99 | set->saveFromArea(mainWindow()->area()); |
| 100 | mainWindow()->area()->setWorkingSet(set->id()); |
| 101 | } |
| 102 | |
| 103 | void WorkingSetToolButton::loadSet() |
| 104 | { |
nothing calls this directly
no test coverage detected