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

List:       kde-commits
Subject:    kdevelop/src
From:       Jens Dagerbo <jens.dagerbo () swipnet ! se>
Date:       2005-01-22 21:01:12
Message-ID: 20050122210112.B8C1C1BBA2 () office ! kde ! org
[Download RAW message or body]

CVS commit by dagerbo: 

Missed a spot.


  M +3 -2      partcontroller.cpp   1.154


--- kdevelop/src/partcontroller.cpp  #1.153:1.154
@@ -480,4 +480,5 @@ void PartController::showDocument(const 
   }
   
+  addHistoryEntry();
   
   HTMLDocumentationPart *part = dynamic_cast<HTMLDocumentationPart*>(activePart());
@@ -1110,5 +1111,5 @@ bool PartController::readyToClose()
 }
 
-void PartController::slotActivePartChanged( KParts::Part * part )
+void PartController::slotActivePartChanged( KParts::Part * )
 {
         kdDebug(9000) << k_funcinfo << endl;
@@ -1371,5 +1372,5 @@ void PartController::slotBackAboutToShow
         while( i < 10 && it != m_simpleHistory.end() )
         {
-                popup->insertItem( (*it).url.fileName() + QString(" (%1)").arg( (*it).line), (*it).id );
+                popup->insertItem( (*it).url.fileName() + QString(" (%1)").arg( (*it).line +1), (*it).id );
                 ++i;
                 ++it;


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

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