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

Method setStyle

src/columns/ColEntry.cpp:42–46  ·  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

40// Overriden so that style <----> label are linked.
41// Note that you can not determine which gets called first.
42void ColumnEntry::setStyle(const std::string& value) {
43 Column::setStyle(value);
44
45 if (_style == "age" && _label == "Added") _label = "Age";
46}
47
48////////////////////////////////////////////////////////////////////////////////

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected