MCPcopy Create free account
hub / github.com/ckaiser/Lightscreen / preview

Method preview

lightscreenwindow.cpp:408–419  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

406}
407
408void LightscreenWindow::preview(Screenshot *screenshot)
409{
410 if (screenshot->options().preview) {
411 if (!mPreviewDialog) {
412 mPreviewDialog = new PreviewDialog(this);
413 }
414
415 mPreviewDialog->add(screenshot);
416 } else {
417 screenshot->confirm(true);
418 }
419}
420
421void LightscreenWindow::quit()
422{

Callers

nothing calls this directly

Calls 2

addMethod · 0.80
confirmMethod · 0.80

Tested by

no test coverage detected