Remove redundant methods
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
parent
f8b935ab37
commit
1a7c5693cc
5 changed files with 4 additions and 18 deletions
|
@ -152,7 +152,7 @@ void ThemeCustomizationWidget::loadSettings()
|
|||
}
|
||||
|
||||
auto cat = settings->get("BackgroundCat").toString();
|
||||
for (auto& catFromList : APPLICATION->getValidCatPacks()) {
|
||||
for (auto& catFromList : APPLICATION->themeManager()->getValidCatPacks()) {
|
||||
QIcon catIcon = QIcon(QString("%1").arg(catFromList->path()));
|
||||
ui->backgroundCatComboBox->addItem(catIcon, catFromList->name(), catFromList->id());
|
||||
if (cat == catFromList->id()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue