mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2025-06-12 13:17:41 +02:00
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.
This commit is contained in:
@ -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());
|
||||
}
|
||||
|
Reference in New Issue
Block a user