filemanager/src/filemanager/src/fmfindview.cpp
changeset 37 15bc28c9dd51
parent 16 ada7962b4308
child 46 d58987eac7e8
equal deleted inserted replaced
16:ada7962b4308 37:15bc28c9dd51
    42     mWaitNote = 0;
    42     mWaitNote = 0;
    43 }
    43 }
    44 
    44 
    45 void FmFindView::activated( const QString& pathName )
    45 void FmFindView::activated( const QString& pathName )
    46 {
    46 {
    47     FmLogger::log( QString( "activate path from findview:" ) + pathName );
    47     FM_LOG( QString( "activate path from findview:" ) + pathName );
    48     FmViewManager::viewManager()->createFileView( pathName, true, true );
    48     FmViewManager::viewManager()->createFileView( pathName, true, true );
    49 }
    49 }
    50 
    50 
    51 void FmFindView::find( const QString &keyword, const QString &path )
    51 void FmFindView::find( const QString &keyword, const QString &path )
    52 {
    52 {
    53     setTitle( keyword );
    53     setTitle( keyword );
    54     mFindWidget->find( keyword, path );
    54     mFindWidget->find( keyword, path );
    55     mWaitNote->exec();
    55     mWaitNote->open();
    56 }
    56 }
    57 
    57 
    58 void FmFindView::stopFind()
    58 void FmFindView::stopFind()
    59 {
    59 {
    60     mFindWidget->stopFind();
    60     mFindWidget->stopFind();