diff options
author | Sefa Eyeoglu <contact@scrumplex.net> | 2023-07-21 11:11:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-21 11:11:12 +0200 |
commit | 821dd8400b1a27ab1f932200bfa77d7a04edef5d (patch) | |
tree | c30d09e1b72e74fae3830fbbec514b236cc0bf51 /launcher/Application.cpp | |
parent | 593f45298614843c14acb11994320f90a474c750 (diff) | |
parent | b7bccb905829eebea039a32edf93606f5fc5defa (diff) | |
download | PrismLauncher-821dd8400b1a27ab1f932200bfa77d7a04edef5d.tar.gz PrismLauncher-821dd8400b1a27ab1f932200bfa77d7a04edef5d.tar.bz2 PrismLauncher-821dd8400b1a27ab1f932200bfa77d7a04edef5d.zip |
Merge pull request #1253 from Trial97/catpacks
Diffstat (limited to 'launcher/Application.cpp')
-rw-r--r-- | launcher/Application.cpp | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/launcher/Application.cpp b/launcher/Application.cpp index d6c135de..aeea90f1 100644 --- a/launcher/Application.cpp +++ b/launcher/Application.cpp @@ -1186,7 +1186,17 @@ QIcon Application::getThemedIcon(const QString& name) return QIcon::fromTheme(name); } -bool Application::openJsonEditor(const QString &filename) +QList<CatPack*> Application::getValidCatPacks() +{ + return m_themeManager->getValidCatPacks(); +} + +QString Application::getCatPack(QString catName) +{ + return m_themeManager->getCatPack(catName); +} + +bool Application::openJsonEditor(const QString& filename) { const QString file = QDir::current().absoluteFilePath(filename); if (m_settings->get("JsonEditor").toString().isEmpty()) |