aboutsummaryrefslogtreecommitdiff
path: root/launcher/Application.cpp
diff options
context:
space:
mode:
authorTrial97 <alexandru.tripon97@gmail.com>2023-07-27 00:05:59 +0300
committerTrial97 <alexandru.tripon97@gmail.com>2023-07-27 00:05:59 +0300
commit3c472fd7e0cbe517c63f41f8c02767e372e916a1 (patch)
tree3ae2752ae0b5991401737b2402b47a9131c2e5c6 /launcher/Application.cpp
parent477b72ad33c29de097585ed415e1940cc25e2b34 (diff)
parentd960effb994ba421c502d8d5e0a1bb4d46efd9a3 (diff)
downloadPrismLauncher-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.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())