code optimization in HistoryDlg::displayResult
Merge pull request #60 from liuch/master

code optimization in HistoryDlg::displayResult