diff options
author | Trial97 <alexandru.tripon97@gmail.com> | 2023-07-27 00:05:59 +0300 |
---|---|---|
committer | Trial97 <alexandru.tripon97@gmail.com> | 2023-07-27 00:05:59 +0300 |
commit | 3c472fd7e0cbe517c63f41f8c02767e372e916a1 (patch) | |
tree | 3ae2752ae0b5991401737b2402b47a9131c2e5c6 /launcher/Application.cpp | |
parent | 477b72ad33c29de097585ed415e1940cc25e2b34 (diff) | |
parent | d960effb994ba421c502d8d5e0a1bb4d46efd9a3 (diff) | |
download | PrismLauncher-3c472fd7e0cbe517c63f41f8c02767e372e916a1.tar.gz PrismLauncher-3c472fd7e0cbe517c63f41f8c02767e372e916a1.tar.bz2 PrismLauncher-3c472fd7e0cbe517c63f41f8c02767e372e916a1.zip |
Merge branch 'develop' of https://github.com/PrismLauncher/PrismLauncher into prism_export2
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()) |