Mercurial > minori
diff src/main.cc @ 369:47c9f8502269
*: clang-format all the things
I've edited the formatting a bit. Now pointer asterisks (and reference
ampersands) are on the variable instead of the type, as well as having
newlines for function braces (but nothing else)
author | Paper <paper@tflc.us> |
---|---|
date | Fri, 25 Jul 2025 10:16:02 -0400 |
parents | b5d6c27c308f |
children |
line wrap: on
line diff
--- a/src/main.cc Fri Jul 25 10:05:23 2025 -0400 +++ b/src/main.cc Fri Jul 25 10:16:02 2025 -0400 @@ -13,14 +13,15 @@ #include <cstdlib> -int main(int argc, char** argv) { +int main(int argc, char **argv) +{ QApplication app(argc, argv); app.setApplicationName("minori"); app.setApplicationDisplayName("Minori"); app.setAttribute(Qt::AA_DontShowIconsInMenus, true); qRegisterMetaType<std::vector<std::string>>(); /* window.cc */ - qRegisterMetaType<std::vector<int>>(); /* search.cc */ + qRegisterMetaType<std::vector<int>>(); /* search.cc */ qRegisterMetaType<std::string>(); qRegisterMetaType<Anime::Season>();