aboutsummaryrefslogtreecommitdiff
path: root/launcher/Application.cpp
diff options
context:
space:
mode:
authorTrial97 <alexandru.tripon97@gmail.com>2023-07-21 19:30:06 +0300
committerTrial97 <alexandru.tripon97@gmail.com>2023-07-21 19:30:06 +0300
commit0b74b3833a95598d1770d7bd98acf15f2582ccb6 (patch)
treee6c2dc266c06d6475347c7d5480b692dedf86901 /launcher/Application.cpp
parentef21879df4f7c2822381e1b6af4901e0e6b0d339 (diff)
parent821dd8400b1a27ab1f932200bfa77d7a04edef5d (diff)
downloadPrismLauncher-0b74b3833a95598d1770d7bd98acf15f2582ccb6.tar.gz
PrismLauncher-0b74b3833a95598d1770d7bd98acf15f2582ccb6.tar.bz2
PrismLauncher-0b74b3833a95598d1770d7bd98acf15f2582ccb6.zip
Merge branch 'develop' of https://github.com/PrismLauncher/PrismLauncher into import
Diffstat (limited to 'launcher/Application.cpp')
-rw-r--r--launcher/Application.cpp12
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())