MCPcopy Create free account
hub / github.com/IgKh/katvan / commitSession

Method commitSession

shell/katvan_mainwindow.cpp:642–658  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

640}
641
642void MainWindow::commitSession(QSessionManager& manager)
643{
644 if (!d_document->isModified()) {
645 return;
646 }
647
648 if (!manager.allowsInteraction()) {
649 return;
650 }
651
652 bool ok = maybeSave();
653
654 manager.release();
655 if (!ok) {
656 manager.cancel();
657 }
658}
659
660void MainWindow::currentFileChangedOnDisk()
661{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected