--- a/filemanager/src/fmfiledialog/src/fmfilewidget.cpp Thu Aug 05 11:30:07 2010 +0800
+++ b/filemanager/src/fmfiledialog/src/fmfilewidget.cpp Thu Sep 02 17:00:51 2010 +0800
@@ -96,7 +96,7 @@
{
FM_LOG("FmFileWidget::on_list_activated start" );
if( mCurrentModel == mDriveModel ) {
- //If currenty model is DriveModel, open drive and set path
+ //If current model is DriveModel, open drive and set path
QString driveName = mDriveModel->driveName( mActivatedModelIndex );
QString checkedPath = FmUtils::checkDriveToFolderFilter( driveName );
if( checkedPath.isEmpty() ) {
@@ -113,7 +113,7 @@
FM_LOG("FmFileWidget::on_list_activated finish emit pathChanged" );
}
else if( mCurrentModel == mFileSystemModel ) {
- //If currenty model is FileSystemModel, open path or emit file activate signal.
+ //If current model is FileSystemModel, open path or emit file activate signal.
if ( mFileSystemModel->isDir( mActivatedModelIndex ) ) {
FM_LOG("FmFileWidget::on_list_activated start changeRootIndex" );
changeRootIndex( mActivatedModelIndex );
@@ -221,7 +221,7 @@
QString path( FmUtils::checkFolderToDriveFilter( currentPath().absoluteFilePath() ) );
QFileInfo fileInfo( path );
QString cdUpPath;
- // path length>3 means currenty path is a sub folder, then get up level path and navigate to it
+ // path length>3 means current path is a sub folder, then get up level path and navigate to it
// Otherwise means current path is a top level drive path, Should navigate to drive view. So setRootPath with empty path string.
if( path.length() > 3 ) {
cdUpPath = fileInfo.dir().absolutePath();