summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorBai Jing <jing.t.bai@nokia.com>2012-03-06 10:59:35 +0100
committerQt by Nokia <qt-info@nokia.com>2012-03-06 16:05:26 +0100
commite1f8e3d3aaa2fe40f0807ce2edaff12b3989b58c (patch)
tree5bff4731ee787670b5594c7873ba1665474d2640 /tools
parentd4d0aa90793e235f53a3defffd2b74d5215240a6 (diff)
remove redundant history cleanup
Everything is done in run() Change-Id: I6f7618d508a2db3ffb8d75dc487a3fa32843f056 Reviewed-by: Jamey Hicks <jamey.hicks@nokia.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/jsondb-client/client.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/tools/jsondb-client/client.cpp b/tools/jsondb-client/client.cpp
index 8da864ba..a77541c1 100644
--- a/tools/jsondb-client/client.cpp
+++ b/tools/jsondb-client/client.cpp
@@ -77,12 +77,6 @@ InputThread *InputThread::instance()
InputThread::~InputThread()
{
- if (hist && !historyFile.isEmpty())
- history(hist, 0, H_SAVE, historyFile.toLocal8Bit().constData());
- if (hist) {
- history_end(hist);
- hist = 0;
- }
}
char const* InputThread::prompt(EditLine *e)