mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
corrected small bug in max search determination
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@2679 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
1901ac10ef
commit
e527486854
@ -824,9 +824,6 @@ void SearchDialog::insertFile(const std::string& txt,qulonglong searchId, const
|
||||
|
||||
if(nb_results[searchId] >= ui._max_results_SB->value())
|
||||
return ;
|
||||
else
|
||||
++nb_results[searchId] ;
|
||||
|
||||
|
||||
// 1 - look in result window whether the file already exists.
|
||||
//
|
||||
@ -957,6 +954,8 @@ void SearchDialog::insertFile(const std::string& txt,qulonglong searchId, const
|
||||
|
||||
if(!found)
|
||||
{
|
||||
++nb_results[searchId] ;
|
||||
|
||||
/* translate search results */
|
||||
|
||||
QTreeWidgetItem *item = new QTreeWidgetItem();
|
||||
|
Loading…
Reference in New Issue
Block a user