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

List:       kde-commits
Subject:    kdevelop/parts/outputviews
From:       Harald Fernengel <harry () kdevelop ! org>
Date:       2003-04-09 0:30:58
[Download RAW message or body]

CVS commit by harald: 

make goto next error / prev error work again


  M +2 -2      makewidget.cpp   1.76


--- kdevelop/parts/outputviews/makewidget.cpp  #1.75:1.76
@@ -306,5 +306,5 @@ void MakeWidget::nextError()
                 parag = 0;
 
-        for ( int it = parag;
+        for ( int it = parag + 1;
 #if QT_VERSION >= 0x030100
               it < (int)m_items.count();
@@ -340,5 +340,5 @@ void MakeWidget::prevError()
                 parag = 0;
 
-        for ( int it = parag; it >= 0; --it)
+        for ( int it = parag - 1; it >= 0; --it)
         {
                 ErrorItem* item = dynamic_cast<ErrorItem*>( m_paragraphToItem[it] );


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

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