Mercurial > minori
diff 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 |
line wrap: on
line diff
--- a/src/main.cc Thu Apr 18 16:51:35 2024 -0400 +++ b/src/main.cc Thu Apr 18 16:53:17 2024 -0400 @@ -19,6 +19,9 @@ app.setApplicationDisplayName("Minori"); app.setAttribute(Qt::AA_DontShowIconsInMenus, true); + qRegisterMetaType<std::vector<std::string>>(); /* window.cc */ + qRegisterMetaType<std::vector<int>>(); /* search.cc */ + session.config.Load(); Anime::db.LoadDatabaseFromDisk();