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

Method setStyle

src/columns/ColDue.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 ColumnDue::setStyle(const std::string& value) {
43 Column::setStyle(value);
44
45 if (_style == "countdown" && _label == "Due") _label = "Count";
46}
47
48////////////////////////////////////////////////////////////////////////////////

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected