diff -r c863538fcbb6 -r 4fa04caf0f43 hgcacheproxymodel/src/hgbuffermanager.cpp --- a/hgcacheproxymodel/src/hgbuffermanager.cpp Thu May 27 13:59:05 2010 +0300 +++ b/hgcacheproxymodel/src/hgbuffermanager.cpp Fri Jun 11 14:43:11 2010 +0300 @@ -13,7 +13,7 @@ * * Description: * -* Version : %version: 4 % +* Version : %version: 5 % */ #include "hgbuffermanager.h" #include @@ -246,7 +246,7 @@ void HgBufferManager::aboutToInsertItem(int pos) { - if(pos < 0 || pos >= mTotalCount ){ + if(pos < 0 || pos > mTotalCount ){ return; } @@ -260,7 +260,7 @@ void HgBufferManager::insertedItem(int pos) { - if(pos < 0 || pos >= mTotalCount ){ + if(pos < 0 || pos > mTotalCount ){ return; }