comparison src/main.cc @ 273:f31305b9f60a

*: various code safety changes this also makes the code build on Qt 5.7. I can't test it though because I don't have it working... FAIL!
author Paper <paper@paper.us.eu.org>
date Thu, 18 Apr 2024 16:53:17 -0400
parents 862d0d8619f6
children 34347fd2a2de
comparison
equal deleted inserted replaced
272:5437009cb10e 273:f31305b9f60a
17 QApplication app(argc, argv); 17 QApplication app(argc, argv);
18 app.setApplicationName("minori"); 18 app.setApplicationName("minori");
19 app.setApplicationDisplayName("Minori"); 19 app.setApplicationDisplayName("Minori");
20 app.setAttribute(Qt::AA_DontShowIconsInMenus, true); 20 app.setAttribute(Qt::AA_DontShowIconsInMenus, true);
21 21
22 qRegisterMetaType<std::vector<std::string>>(); /* window.cc */
23 qRegisterMetaType<std::vector<int>>(); /* search.cc */
24
22 session.config.Load(); 25 session.config.Load();
23 Anime::db.LoadDatabaseFromDisk(); 26 Anime::db.LoadDatabaseFromDisk();
24 27
25 MainWindow window; 28 MainWindow window;
26 29