mpengine/src/mpsongscanner.cpp
changeset 34 2c5162224003
parent 22 ecf06a08d4d9
child 44 eff9df3d9c98
equal deleted inserted replaced
22:ecf06a08d4d9 34:2c5162224003
   111     mScanProgressNote->setModal( true );
   111     mScanProgressNote->setModal( true );
   112     HbLabel *title = new HbLabel( hbTrId( "txt_mus_title_refreshing" ) );
   112     HbLabel *title = new HbLabel( hbTrId( "txt_mus_title_refreshing" ) );
   113     title->setFontSpec(HbFontSpec(HbFontSpec::Primary));
   113     title->setFontSpec(HbFontSpec(HbFontSpec::Primary));
   114 
   114 
   115     mScanProgressNote->setHeadingWidget( title );
   115     mScanProgressNote->setHeadingWidget( title );
   116     mScanProgressNote->setTextAlignment( Qt::AlignCenter );
       
   117     mScanProgressNote->setText( QString("") );
   116     mScanProgressNote->setText( QString("") );
   118     mScanProgressNote->setAttribute( Qt::WA_DeleteOnClose );
   117     mScanProgressNote->setAttribute( Qt::WA_DeleteOnClose );
   119     mScanProgressNote->show();
   118     mScanProgressNote->show();
   120 }
   119 }
   121 
   120 
   131         }
   130         }
   132         HbMessageBox *diskFullDialog = new HbMessageBox();
   131         HbMessageBox *diskFullDialog = new HbMessageBox();
   133         diskFullDialog->setIcon( HbIcon( QString("qtg_small_fail") ) );
   132         diskFullDialog->setIcon( HbIcon( QString("qtg_small_fail") ) );
   134         diskFullDialog->setText( hbTrId( "txt_mus_title_refresh_cancelled" ) );
   133         diskFullDialog->setText( hbTrId( "txt_mus_title_refresh_cancelled" ) );
   135         diskFullDialog->setTimeout( HbPopup::NoTimeout);
   134         diskFullDialog->setTimeout( HbPopup::NoTimeout);
   136         diskFullDialog->exec();
   135         diskFullDialog->setAttribute( Qt::WA_DeleteOnClose );
       
   136         diskFullDialog->show();
   137         mScanning = false;
   137         mScanning = false;
   138                
   138                
   139     }
   139     }
   140     else{
   140     else{
   141         QString added;
   141         QString added;