CmdSummary
- Converted from OldDuration to Duration.
This commit is contained in:
@@ -31,7 +31,7 @@
|
|||||||
#include <Context.h>
|
#include <Context.h>
|
||||||
#include <Filter.h>
|
#include <Filter.h>
|
||||||
#include <ViewText.h>
|
#include <ViewText.h>
|
||||||
#include <OldDuration.h>
|
#include <Duration.h>
|
||||||
#include <text.h>
|
#include <text.h>
|
||||||
#include <util.h>
|
#include <util.h>
|
||||||
#include <i18n.h>
|
#include <i18n.h>
|
||||||
@@ -159,7 +159,7 @@ int CmdSummary::execute (std::string& output)
|
|||||||
|
|
||||||
view.set (row, 1, countPending[i->first]);
|
view.set (row, 1, countPending[i->first]);
|
||||||
if (counter[i->first])
|
if (counter[i->first])
|
||||||
view.set (row, 2, OldDuration ((int) (sumEntry[i->first] / (double)counter[i->first])).format ());
|
view.set (row, 2, Duration ((int) (sumEntry[i->first] / (double)counter[i->first])).format ());
|
||||||
|
|
||||||
int c = countCompleted[i->first];
|
int c = countCompleted[i->first];
|
||||||
int p = countPending[i->first];
|
int p = countPending[i->first];
|
||||||
|
|||||||
Reference in New Issue
Block a user