Removed Duplicate Entries in the File Browser
4206705ed2 #1611 Improve search field ,
was incorrectly adding the files twice.
this rectifies my mistake.
This commit is contained in:
@@ -871,8 +871,6 @@ bool Directory::addItems(const QString & path )
|
||||
addChild( new Directory( cur_file, path,
|
||||
m_filter ) );
|
||||
m_dirCount++;
|
||||
//recurse for each dir
|
||||
addItems( path + cur_file + QDir::separator() );
|
||||
}
|
||||
|
||||
added_something = true;
|
||||
|
||||
Reference in New Issue
Block a user