mirror of
https://github.com/YACReader/yacreader
synced 2026-04-12 15:49:53 -04:00
Implement theme pickers + importing
This commit is contained in:
@ -210,6 +210,7 @@ OptionsDialog::OptionsDialog(QWidget *parent)
|
||||
|
||||
auto *pageAppearance = new AppearanceTabWidget(
|
||||
ThemeManager::instance().getAppearanceConfiguration(),
|
||||
ThemeManager::instance().getRepository(),
|
||||
[]() { return ThemeManager::instance().getCurrentTheme().sourceJson; },
|
||||
[](const QJsonObject &json) { ThemeManager::instance().setTheme(makeTheme(json)); },
|
||||
this);
|
||||
|
||||
Reference in New Issue
Block a user