NOISSUE Some happy little refactors

This commit is contained in:
Petr Mrázek
2021-11-20 16:22:22 +01:00
parent eafeb64dec
commit 0c861db7a2
142 changed files with 812 additions and 694 deletions

View File

@ -2,7 +2,7 @@
#include "rainbow.h"
#include <QStyleFactory>
#include <QDir>
#include "Launcher.h"
#include "Application.h"
void ITheme::apply(bool)
{
@ -13,11 +13,11 @@ void ITheme::apply(bool)
}
if(hasStyleSheet())
{
LAUNCHER->setStyleSheet(appStyleSheet());
APPLICATION->setStyleSheet(appStyleSheet());
}
else
{
LAUNCHER->setStyleSheet(QString());
APPLICATION->setStyleSheet(QString());
}
QDir::setSearchPaths("theme", searchPaths());
}