From 87e4bc650de988c64abb1950a3626388b59da426 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C3=ABl=20Carr=C3=A9?= <rafael.carre@savoirfairelinux.com> Date: Mon, 15 Aug 2011 12:04:36 -0400 Subject: [PATCH] add back history code deleted by error --- daemon/src/history/historyitem.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/daemon/src/history/historyitem.cpp b/daemon/src/history/historyitem.cpp index 925f3148fa..ae64409410 100644 --- a/daemon/src/history/historyitem.cpp +++ b/daemon/src/history/historyitem.cpp @@ -76,6 +76,12 @@ HistoryItem::HistoryItem (std::string serialized_form) case 3: // The start timestamp _timestamp_start = tmp; break; + case 4: // The end timestamp + _timestamp_stop = tmp; + break; + case 5: // The ID + _id = tmp; + break; case 6: // The account ID _account_id = tmp; break; @@ -95,9 +101,6 @@ HistoryItem::HistoryItem (std::string serialized_form) indice ++; } - - _id = ""; - _timestamp_stop = ""; } HistoryItem::~HistoryItem () -- GitLab