aboutsummaryrefslogtreecommitdiff
path: root/launcher/themes/ITheme.cpp
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2021-10-13 01:59:25 +0200
committerPetr Mrázek <peterix@gmail.com>2021-10-21 00:47:53 +0200
commit441ab7eedcb8fe120a7f934684ed5545cdd7a4b6 (patch)
tree5a1a93e871f5172b3f087e9eb04bf6918bd34ec7 /launcher/themes/ITheme.cpp
parent6a4130c9149deb029b496c81e3b874ad834c54b7 (diff)
downloadPrismLauncher-441ab7eedcb8fe120a7f934684ed5545cdd7a4b6.tar.gz
PrismLauncher-441ab7eedcb8fe120a7f934684ed5545cdd7a4b6.tar.bz2
PrismLauncher-441ab7eedcb8fe120a7f934684ed5545cdd7a4b6.zip
NOISSUE debranding for real, initial work
This is probably very broken on macOS and Windows and will need a lot of work to complete fully.
Diffstat (limited to 'launcher/themes/ITheme.cpp')
-rw-r--r--launcher/themes/ITheme.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/launcher/themes/ITheme.cpp b/launcher/themes/ITheme.cpp
index bfec87e7..321b0d9b 100644
--- a/launcher/themes/ITheme.cpp
+++ b/launcher/themes/ITheme.cpp
@@ -2,7 +2,7 @@
#include "rainbow.h"
#include <QStyleFactory>
#include <QDir>
-#include "MultiMC.h"
+#include "Launcher.h"
void ITheme::apply(bool)
{
@@ -13,11 +13,11 @@ void ITheme::apply(bool)
}
if(hasStyleSheet())
{
- MMC->setStyleSheet(appStyleSheet());
+ LAUNCHER->setStyleSheet(appStyleSheet());
}
else
{
- MMC->setStyleSheet(QString());
+ LAUNCHER->setStyleSheet(QString());
}
QDir::setSearchPaths("theme", searchPaths());
}