Changed a stupid ifndef FreeBSD to something that checks if /lib is really

there before adding it.

svn path=/trunk/kdebase/kfind/; revision=17112
This commit is contained in:
Alex Zepeda 1999-02-20 20:29:41 +00:00
parent 34dd535da5
commit 97971004f7

View file

@ -287,12 +287,12 @@ void KfindTabDialog::loadHistory() {
dirBox->insertStrList(&sl);
}
else {
QDir m_dir("/lib");
dirBox ->insertItem( _searchPath.data() );
dirBox ->insertItem( "/" );
dirBox ->insertItem( "/usr" );
#ifndef __FreeBSD__
dirBox ->insertItem( "/lib" );
#endif
if (m_dir.exists())
dirBox ->insertItem( "/lib" );
dirBox ->insertItem( "/home" );
dirBox ->insertItem( "/etc" );
dirBox ->insertItem( "/var" );