mirror of
https://invent.kde.org/system/dolphin
synced 2024-09-20 00:41:23 +00:00
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:
parent
34dd535da5
commit
97971004f7
|
@ -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" );
|
||||
|
|
Loading…
Reference in a new issue