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

List:       kde-commits
Subject:    kdesdk/kompare/komparepart
From:       Scott Wheeler <wheeler () kde ! org>
Date:       2003-08-31 22:06:38
[Download RAW message or body]

CVS commit by wheeler: 

get rid of two more warnings...


  M +2 -2      kompare_actions.cpp   1.11


--- kdesdk/kompare/komparepart/kompare_actions.cpp  #1.10:1.11
@@ -126,8 +126,8 @@ void KompareActions::updateActions()
 
                 m_previousFile->setEnabled      ( modelIndex > 0 );
-                m_nextFile->setEnabled          ( modelIndex < m_modelList->count() \
- 1 ); +                m_nextFile->setEnabled          ( modelIndex < int( \
                m_modelList->count() ) - 1 );
                 m_previousDifference->setEnabled( diffIndex  > 0 || modelIndex > 0 \
);  m_nextDifference->setEnabled    ( modelIndex >= 0 &&
-                    ( diffIndex < m_selectedModel->differenceCount() - 1 || \
modelIndex < m_modelList->count() - 1 ) ); +                    ( diffIndex < \
m_selectedModel->differenceCount() - 1 || modelIndex < int( m_modelList->count() ) - \
1 ) );  }
         else


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

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