mirror of
https://github.com/rad4day/Waybar.git
synced 2025-09-16 15:32:32 +02: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