Skip to content

Commit

Permalink
chore(ui/themes): remove obsolete ThemeManager code
Browse files Browse the repository at this point in the history
  • Loading branch information
kaeeraa committed Jan 3, 2025
1 parent 5f36c22 commit 420585b
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions launcher/ui/themes/ThemeManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -305,11 +305,7 @@ void ThemeManager::initializeCatPacks()
{ "rory-flat", QObject::tr("Rory ID 11 (flat edition, drawn by Ashtaka)") },
{ "teawie", QObject::tr("Teawie (drawn by SympathyTea)") } };
for (auto [id, name] : defaultCats) {
if (id.endsWith("gif")) {
addCatPack(std::unique_ptr<CatPack>(new GifCatPack(id, name)));
} else {
addCatPack(std::unique_ptr<CatPack>(new BasicCatPack(id, name)));
}
addCatPack(std::unique_ptr<CatPack>(new BasicCatPack(id, name)));
}
if (!m_catPacksFolder.mkpath("."))
themeWarningLog() << "Couldn't create catpacks folder";
Expand Down

0 comments on commit 420585b

Please sign in to comment.