mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-07-03 20:06:58 +03:00
GH-903 force Dark theme to use Fusion Qt style
Themes now include Qt styles.
This commit is contained in:
parent
872cfe036d
commit
bbe139dce5
6 changed files with 32 additions and 2 deletions
|
|
@ -22,6 +22,7 @@
|
|||
#include <QMessageBox>
|
||||
#include <QStringList>
|
||||
#include <QDebug>
|
||||
#include <QStyleFactory>
|
||||
|
||||
#include "InstanceList.h"
|
||||
#include <minecraft/auth/MojangAccountList.h>
|
||||
|
|
@ -982,9 +983,9 @@ void MultiMC::setApplicationTheme(const QString& name)
|
|||
if(themeIter != m_themes.end())
|
||||
{
|
||||
auto & theme = (*themeIter).second;
|
||||
setStyle(QStyleFactory::create(theme->qtTheme()));
|
||||
setPalette(theme->colorScheme());
|
||||
setStyleSheet(theme->appStyleSheet());
|
||||
//setStyle(QStyleFactory::create("Fusion"));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue