aboutsummaryrefslogtreecommitdiff
path: root/launcher/ui/widgets/ThemeCustomizationWidget.cpp
diff options
context:
space:
mode:
authorTheKodeToad <TheKodeToad@proton.me>2023-07-21 13:01:01 +0100
committerTheKodeToad <TheKodeToad@proton.me>2023-07-21 13:01:01 +0100
commit1a7c5693cc9d21cf974ad56e55a3ca07a22c8477 (patch)
treeacd6d3b5f6d6fddb863bd232dd6d6fd1553a458f /launcher/ui/widgets/ThemeCustomizationWidget.cpp
parentf8b935ab37ccc2dfd70412ef11029b79c88b14f0 (diff)
downloadPrismLauncher-1a7c5693cc9d21cf974ad56e55a3ca07a22c8477.tar.gz
PrismLauncher-1a7c5693cc9d21cf974ad56e55a3ca07a22c8477.tar.bz2
PrismLauncher-1a7c5693cc9d21cf974ad56e55a3ca07a22c8477.zip
Remove redundant methods
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
Diffstat (limited to 'launcher/ui/widgets/ThemeCustomizationWidget.cpp')
-rw-r--r--launcher/ui/widgets/ThemeCustomizationWidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/launcher/ui/widgets/ThemeCustomizationWidget.cpp b/launcher/ui/widgets/ThemeCustomizationWidget.cpp
index 8ccb5dcc..b9294908 100644
--- a/launcher/ui/widgets/ThemeCustomizationWidget.cpp
+++ b/launcher/ui/widgets/ThemeCustomizationWidget.cpp
@@ -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()) {