-rw-r--r-- | libopie/ofileselector.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libopie/ofileselector.cc b/libopie/ofileselector.cc index 6a6a300..7481360 100644 --- a/libopie/ofileselector.cc +++ b/libopie/ofileselector.cc @@ -1204,2 +1204,3 @@ void OFileSelector::reparse() QDir dir( m_currentDir ); + if( dir.exists() ){ dir.setFilter( QDir::Files | QDir::Readable ); @@ -1227,2 +1228,3 @@ void OFileSelector::reparse() } + } }else { // no autoMime @@ -1239,2 +1241,3 @@ void OFileSelector::reparse() + if( dir.exists() ){ int sort; @@ -1292,2 +1295,3 @@ void OFileSelector::reparse() } // of while loop + } // if ( dir.exists() ) m_View->sort(); |