MCPcopy Create free account
hub / github.com/GothenburgBitFactory/taskwarrior / setStyle

Method setStyle

src/columns/ColRecur.cpp:54–59  ·  view source on GitHub ↗

/////////////////////////////////////////////////////////////////////////// Overriden so that style <----> label are linked. Note that you can not determine which gets called first.

Source from the content-addressed store, hash-verified

52// Overriden so that style <----> label are linked.
53// Note that you can not determine which gets called first.
54void ColumnRecur::setStyle(const std::string& value) {
55 Column::setStyle(value);
56
57 if (_style == "indicator" && _label == "Recur")
58 _label = _label.substr(0, Context::getContext().config.get("recurrence.indicator").length());
59}
60
61////////////////////////////////////////////////////////////////////////////////
62// Set the minimum and maximum widths for the value.

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected