diff -r 65602f1ef0f8 -r f77bb02b669f QTfrontend/ui/widget/HistoryLineEdit.cpp --- a/QTfrontend/ui/widget/HistoryLineEdit.cpp Mon Jan 30 23:20:28 2012 +0100 +++ b/QTfrontend/ui/widget/HistoryLineEdit.cpp Mon Jan 30 17:32:18 2012 -0500 @@ -27,7 +27,7 @@ #include "HistoryLineEdit.h" HistoryLineEdit::HistoryLineEdit(QWidget * parent, int maxHistorySize) -: QLineEdit(parent) + : QLineEdit(parent) { m_curHistEntryIdx = 0; m_maxHistorySize = maxHistorySize; @@ -80,10 +80,10 @@ { // save possible changes to new entry if ((m_curHistEntryIdx >= m_history->size() || - (text() != m_history->at(m_curHistEntryIdx)))) - { - rememberCurrentText(); - } + (text() != m_history->at(m_curHistEntryIdx)))) + { + rememberCurrentText(); + } if (isGoingUp) m_curHistEntryIdx--;