mirror of
https://github.com/YACReader/yacreader
synced 2026-04-12 15:49:53 -04:00
Format
This commit is contained in:
@ -133,7 +133,7 @@ ThemeEditorDialog::ThemeEditorDialog(const QJsonObject ¶ms, QWidget *parent)
|
||||
tree->setUniformRowHeights(true);
|
||||
tree->setAlternatingRowColors(true);
|
||||
|
||||
populate(nullptr, params, {});
|
||||
populate(nullptr, params, { });
|
||||
tree->expandAll();
|
||||
|
||||
connect(expandBtn, &QPushButton::clicked, tree, &QTreeWidget::expandAll);
|
||||
@ -425,7 +425,7 @@ void ThemeEditorDialog::loadFromFile()
|
||||
params = doc.object();
|
||||
syncMetaFromParams();
|
||||
tree->clear();
|
||||
populate(nullptr, params, {});
|
||||
populate(nullptr, params, { });
|
||||
tree->expandAll();
|
||||
emit themeJsonChanged(params);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user