refactor(config): Drop boost::property_tree

This commit is contained in:
Michael Carlberg 2016-12-13 18:24:01 +01:00
parent 8da52af6a2
commit d45fd76dcd
8 changed files with 277 additions and 117 deletions
src/components

View file

@ -276,7 +276,7 @@ void bar::bootstrap_tray() {
settings.orig_y = m_opts.pos.y + m_opts.borders.at(edge::TOP).size;
// Apply user-defined scaling
auto scale = m_conf.get<float>(bs, "tray-scale", 1.0);
auto scale = m_conf.get<float>(bs, "tray-scale", 1.0f);
settings.width *= scale;
settings.height_fill *= scale;