[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/KDE/4.0/kdelibs/kdeui/widgets
From:       David Faure <faure () kde ! org>
Date:       2008-05-07 10:46:14
Message-ID: 1210157174.206153.30780.nullmailer () svn ! kde ! org
[Download RAW message or body]

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() )
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic