diff options
author | Bai Jing <jing.t.bai@nokia.com> | 2012-03-06 10:59:35 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-03-06 16:05:26 +0100 |
commit | e1f8e3d3aaa2fe40f0807ce2edaff12b3989b58c (patch) | |
tree | 5bff4731ee787670b5594c7873ba1665474d2640 /tools | |
parent | d4d0aa90793e235f53a3defffd2b74d5215240a6 (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.cpp | 6 |
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) |