|
30 | 30 | #include "ui/themes/CatPack.h" |
31 | 31 | #include "ui/themes/CustomTheme.h" |
32 | 32 | #include "ui/themes/DarkTheme.h" |
| 33 | +#include "ui/themes/FreesmLightTheme.h" |
33 | 34 | #include "ui/themes/FreesmTheme.h" |
34 | 35 | #include "ui/themes/GruvboxTheme.h" |
35 | | -#include "ui/themes/FreesmLightTheme.h" |
36 | 36 | #include "ui/themes/SystemTheme.h" |
37 | 37 |
|
38 | 38 | #include "Application.h" |
@@ -300,16 +300,21 @@ QString ThemeManager::addCatPack(std::unique_ptr<CatPack> catPack) |
300 | 300 | void ThemeManager::initializeCatPacks() |
301 | 301 | { |
302 | 302 | QList<std::pair<QString, QString>> defaultCats{ { "kitteh", QObject::tr("Background Cat (from MultiMC)") }, |
303 | | - { "typescript", QObject::tr("You should have used Typescript") }, |
304 | | - { "miside-screenshot", QObject::tr("MiSide Screenshot") }, |
305 | | - { "maxwell-christmas-gif", QObject::tr("Maxwell Christmas Cat") }, |
306 | | - { "konata-gif", QObject::tr("Low-poly Konata") }, |
307 | 303 | { "rory", QObject::tr("Rory ID 11 (drawn by Ashtaka)") }, |
308 | 304 | { "rory-flat", QObject::tr("Rory ID 11 (flat edition, drawn by Ashtaka)") }, |
309 | 305 | { "teawie", QObject::tr("Teawie (drawn by SympathyTea)") } }; |
310 | 306 | for (auto [id, name] : defaultCats) { |
311 | 307 | addCatPack(std::unique_ptr<CatPack>(new BasicCatPack(id, name))); |
312 | 308 | } |
| 309 | + |
| 310 | + QList<std::pair<QString, QString>> freesmCats{ { "typescript", QObject::tr("You should have used Typescript") }, |
| 311 | + { "miside-screenshot", QObject::tr("MiSide Screenshot") }, |
| 312 | + { "maxwell-christmas-gif", QObject::tr("Maxwell Christmas Cat") }, |
| 313 | + { "konata-gif", QObject::tr("Low-poly Konata") } }; |
| 314 | + for (const auto& [id, name] : freesmCats) { |
| 315 | + addCatPack(std::make_unique<FreesmCatPack>(id, name)); |
| 316 | + } |
| 317 | + |
313 | 318 | if (!m_catPacksFolder.mkpath(".")) |
314 | 319 | themeWarningLog() << "Couldn't create catpacks folder"; |
315 | 320 | themeDebugLog() << "CatPacks Folder Path:" << m_catPacksFolder.absolutePath(); |
|
0 commit comments