--- a/filemanager/App/src/Cfilemanagersearchresultsview.cpp Wed Sep 15 11:58:56 2010 +0300
+++ b/filemanager/App/src/Cfilemanagersearchresultsview.cpp Wed Oct 13 14:17:31 2010 +0300
@@ -90,34 +90,17 @@
// -----------------------------------------------------------------------------
//
void CFileManagerSearchResultsView::DirectoryChangedL()
- {
+ {
FUNC_LOG
RefreshTitleL();
- if ( !iContainer )
+ if ( iContainer )
{
- return;
+ iContainer->RefreshListL( iIndex );
+ UpdateCbaL();
}
- // Get current drive's drive info cache.
- TFileManagerDriveInfo& drvInfo( DriveInfo() );
- // Ensure drive info is updated.
- iEngine.GetDriveInfoL( drvInfo.iDrive, drvInfo );
- // Manually deactivate marking mode if current drive
- // is not available.
- if ( drvInfo.iState & TFileManagerDriveInfo::EDriveInUse ||
- !( drvInfo.iState & TFileManagerDriveInfo::EDrivePresent ) )
- {
- if (iContainer->IsMarkingModeActivated() )
- {
- iContainer->SetMarkingMode( EFalse );
- }
- }
-
- iContainer->RefreshListL( iIndex );
- UpdateCbaL();
}
-
// -----------------------------------------------------------------------------
// CFileManagerSearchResultsView::Id
//