format
Signed-off-by: Tayou <git@tayou.org>
This commit is contained in:
parent
7104f8909d
commit
4f795eb6ef
2 changed files with 4 additions and 4 deletions
|
@ -1073,8 +1073,8 @@ bool Application::createSetupWizard()
|
|||
// set default theme after going into theme wizard
|
||||
if (!validIcons)
|
||||
settings()->set("IconTheme", QString("pe_colored"));
|
||||
//if (!validWidgets)
|
||||
//settings()->set("ApplicationTheme", QString("system"));
|
||||
// if (!validWidgets)
|
||||
// settings()->set("ApplicationTheme", QString("system"));
|
||||
|
||||
m_themeManager->applyCurrentlySelectedTheme(true);
|
||||
|
||||
|
|
|
@ -23,8 +23,8 @@
|
|||
#include <QDirIterator>
|
||||
#include <QIcon>
|
||||
#include <QImageReader>
|
||||
#include <QStyleFactory>
|
||||
#include <QStyle>
|
||||
#include <QStyleFactory>
|
||||
#include "Exception.h"
|
||||
#include "ui/themes/BrightTheme.h"
|
||||
#include "ui/themes/CatPack.h"
|
||||
|
@ -127,7 +127,7 @@ void ThemeManager::initializeWidgets()
|
|||
themeDebugLog() << "System theme seems to be:" << currentlySelectedSystemTheme;
|
||||
|
||||
themeDebugLog() << "<> Initializing Widget Themes";
|
||||
//themeDebugLog() << "Loading Built-in Theme:" << addTheme(std::make_unique<SystemTheme>());
|
||||
// themeDebugLog() << "Loading Built-in Theme:" << addTheme(std::make_unique<SystemTheme>());
|
||||
auto darkThemeId = addTheme(std::make_unique<DarkTheme>());
|
||||
themeDebugLog() << "Loading Built-in Theme:" << darkThemeId;
|
||||
themeDebugLog() << "Loading Built-in Theme:" << addTheme(std::make_unique<BrightTheme>());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue