Fix build with Qt4.

Change-Id: Ia365e28b45ef850e7e830f2e81c4b6e2e4b40ffe
Reviewed-by: hjk <hjk121@nokiamail.com>
FakeVim: Clear command line to properly save its history

Change-Id: Ibb773ebd3d110ba828e55e29170843ed29e325a8
Reviewed-by: hjk <hjk121@nokiamail.com>