From 1f9bd897a768bf01543c13b5c8673d024e29dca1 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Mon, 20 Mar 2017 09:12:33 -0400 Subject: [PATCH] CmdTimesheet: Table headers consistent --- src/commands/CmdTimesheet.cpp | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/commands/CmdTimesheet.cpp b/src/commands/CmdTimesheet.cpp index a15c882b1..3ef082e13 100644 --- a/src/commands/CmdTimesheet.cpp +++ b/src/commands/CmdTimesheet.cpp @@ -125,15 +125,7 @@ int CmdTimesheet::execute (std::string& output) table.add ("Project"); table.add ("Due"); table.add ("Task"); - - if (context.color ()) - { - table.forceColor (); - table.colorHeader (Color ("underline " + context.config.get ("color.label"))); - table.colorOdd (Color (context.config.get ("color.alternate"))); - } - else - table.underlineHeaders (); + setHeaderUnderline (table); auto dateformat = context.config.get ("dateformat");