MCPcopy Create free account
hub / github.com/CasparCG/client / closeEvent

Method closeEvent

src/Widgets/MainWindow.cpp:286–296  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

284}
285
286void MainWindow::closeEvent(QCloseEvent* event)
287{
288 if (this->widgetRundown->checkForSaveBeforeQuit())
289 {
290 EventManager::getInstance().fireCloseApplicationEvent(CloseApplicationEvent());
291
292 event->accept();
293 }
294 else
295 event->ignore();
296}
297
298void MainWindow::importPreset()
299{

Callers

nothing calls this directly

Calls 3

acceptMethod · 0.45

Tested by

no test coverage detected