void InputLine::showHistoryEntry() {
// if the user changed the history, display the changed line
tempHistory.contains(idx) ? setText(tempHistory[idx]) : setText(history[idx]);
void InputLine::showHistoryEntry() {
// if the user changed the history, display the changed line
tempHistory.contains(idx) ? setText(tempHistory[idx]) : setText(history[idx]);