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:
Dave French
2015-04-07 06:44:15 +01:00
parent c87481ac81
commit ef1ab88342

View File

@@ -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;