From a7ee1dc42bc288a3748014d9e2c3ec57f61eb079 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Thu, 29 Mar 2012 02:08:09 +0200 Subject: GUI: Remove unnecessary goto in PredictiveDialog code. --- gui/predictivedialog.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'gui') diff --git a/gui/predictivedialog.cpp b/gui/predictivedialog.cpp index c5c4331ab3..4ce2a51979 100644 --- a/gui/predictivedialog.cpp +++ b/gui/predictivedialog.cpp @@ -498,8 +498,6 @@ void PredictiveDialog::processBtnActive(ButtonId button) { // bring MRU word at the top of the list when ok'ed out of the dialog if (_mode == kModePre && _unitedDict.dictActLine && _numMatchingWords > 1 && _wordNumber != 0) bringWordtoTop(_unitedDict.dictActLine, _wordNumber); - - goto press; } else if (button == kModeAct) { // Mode _mode++; _addBtn->setEnabled(false); @@ -526,12 +524,9 @@ void PredictiveDialog::processBtnActive(ButtonId button) { _lastTime = 0; _lastPressBtn = kNoAct; _curTime = 0; - } else { - goto press; } } -press: pressEditText(); if (button == kOkAct) -- cgit v1.2.3