comparison src/gui/window.cc @ 174:f88eda79c60a

anime/db: add some more json functionality, still doesn't compile :/
author Paper <mrpapersonic@gmail.com>
date Wed, 29 Nov 2023 13:53:56 -0500
parents c8375765f0fc
children 2d5823df870f
comparison
equal deleted inserted replaced
173:de0a8d2f28b3 174:f88eda79c60a
472 #endif 472 #endif
473 } 473 }
474 474
475 void MainWindow::closeEvent(QCloseEvent* event) { 475 void MainWindow::closeEvent(QCloseEvent* event) {
476 session.config.Save(); 476 session.config.Save();
477 Anime::db.SaveDatabaseToDisk();
477 event->accept(); 478 event->accept();
478 } 479 }
479 480
480 #include "gui/moc_window.cpp" 481 #include "gui/moc_window.cpp"