MCPcopy Create free account
hub / github.com/ModOrganizer2/modorganizer / ~MainWindow

Method ~MainWindow

src/mainwindow.cpp:617–637  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

615}
616
617MainWindow::~MainWindow()
618{
619 try {
620 cleanup();
621
622 m_OrganizerCore.setUserInterface(nullptr);
623
624 if (m_IntegratedBrowser) {
625 m_IntegratedBrowser->close();
626 m_IntegratedBrowser.reset();
627 }
628
629 delete ui;
630 } catch (std::exception& e) {
631 QMessageBox::critical(
632 nullptr, tr("Crash on exit"),
633 tr("MO crashed while exiting. Some settings may not be saved.\n\nError: %1")
634 .arg(e.what()),
635 QMessageBox::Ok);
636 }
637}
638
639void MainWindow::updateWindowTitle(const APIUserAccount& user)
640{

Callers

nothing calls this directly

Calls 4

setUserInterfaceMethod · 0.45
closeMethod · 0.45
resetMethod · 0.45
whatMethod · 0.45

Tested by

no test coverage detected