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

Method closePreview

dialogs/previewdialog.cpp:272–283  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

270//
271
272void PreviewDialog::closePreview()
273{
274 QWidget *widget = mStack->currentWidget();
275 mStack->removeWidget(widget);
276 widget->deleteLater();
277
278 if (mStack->count() == 0) {
279 close();
280 } else {
281 relocate();
282 }
283}
284
285void PreviewDialog::enlargePreview()
286{

Callers

nothing calls this directly

Calls 1

countMethod · 0.80

Tested by

no test coverage detected