From kde-commits Wed May 07 10:46:14 2008 From: David Faure Date: Wed, 07 May 2008 10:46:14 +0000 To: kde-commits Subject: branches/KDE/4.0/kdelibs/kdeui/widgets Message-Id: <1210157174.206153.30780.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=121015718423552 SVN commit 804996 by dfaure: Fix "completion rotation" bug introduced by Dawit in 2003 (r231422) -- ah, the good old days :) Noticed by Kelvie Wong, thanks! M +2 -2 klineedit.cpp --- branches/KDE/4.0/kdelibs/kdeui/widgets/klineedit.cpp #804995:804996 @@ -357,9 +357,9 @@ QString input; if (type == KCompletionBase::PrevCompletionMatch) - comp->previousMatch(); + input = comp->previousMatch(); else - comp->nextMatch(); + input = comp->nextMatch(); // Skip rotation if previous/next match is null or the same text if ( input.isNull() || input == displayText() )