MCPcopy Create free account
hub / github.com/altairwei/WizNotePlus / waitForSave

Method waitForSave

src/gui/documentviewer/WizDocumentView.cpp:270–281  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

268}
269
270void 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
283void WizDocumentView::waitForThread()
284{

Callers

nothing calls this directly

Calls 1

trySaveDocumentMethod · 0.45

Tested by

no test coverage detected