| 268 | } |
| 269 | |
| 270 | void WizDocumentView::waitForSave() |
| 271 | { |
| 272 | bool done = false; |
| 273 | m_web->trySaveDocument(m_note, false, [=, &done](const QVariant& ret){ |
| 274 | done = true; |
| 275 | }); |
| 276 | |
| 277 | while (!done) |
| 278 | { |
| 279 | QApplication::processEvents(); |
| 280 | } |
| 281 | } |
| 282 | |
| 283 | void WizDocumentView::waitForThread() |
| 284 | { |
nothing calls this directly
no test coverage detected