mirror of
https://github.com/rad4day/Waybar.git
synced 2023-12-21 10:22:59 +01:00
Clean (#31)
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
#include "ALabel.hpp"
|
||||
|
||||
waybar::ALabel::ALabel(Json::Value config)
|
||||
: config_(std::move(config))
|
||||
waybar::ALabel::ALabel(const Json::Value& config)
|
||||
: config_(config)
|
||||
{
|
||||
if (config_["max-length"]) {
|
||||
label_.set_max_width_chars(config_["max-length"].asUInt());
|
||||
|
Reference in New Issue
Block a user