From df7b35aa73b6c83b9ab2552ff97f11ea7c654b01 Mon Sep 17 00:00:00 2001
From: aviau <alexandre@alexandreviau.net>
Date: Mon, 12 Dec 2016 12:54:00 -0500
Subject: [PATCH] HistoryLimit: default to 0 (unlimited)

There does not seem to be any reason to set the default history to 30
days. By default, it is expected that communication programs keep
history forever, unless the user cleans them or sets a limit.

Change-Id: Ic860f61a8d4c372a9f7377b24d8edfc6081bc977
Reviewed-by: Guillaume Roguez <guillaume.roguez@savoirfairelinux.com>
---
 src/preferences.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/preferences.cpp b/src/preferences.cpp
index 40323cd5a8..7da889abfb 100644
--- a/src/preferences.cpp
+++ b/src/preferences.cpp
@@ -139,7 +139,7 @@ static const char * const ALSA_DFT_CARD    = "0";          /** Default sound car
 
 Preferences::Preferences() :
     accountOrder_("")
-    , historyLimit_(30)
+    , historyLimit_(0)
     , historyMaxCalls_(20)
     , zoneToneChoice_(DFT_ZONE) // DFT_ZONE
     , registrationExpire_(180)
-- 
GitLab