✨ feat: add defaultPalette options; rename "palettes" config section to "theme"
This commit is contained in:
+1
-1
@@ -57,7 +57,7 @@ int main(int argc, char* argv[]) {
|
||||
imageModel);
|
||||
|
||||
auto paletteMgr = new Palette::Manager(
|
||||
config->getPaletteConfig(),
|
||||
config->getThemeConfig(),
|
||||
*imageModel,
|
||||
imageModel);
|
||||
engine.rootContext()->setContextProperty("PaletteManager", paletteMgr);
|
||||
|
||||
Reference in New Issue
Block a user