equal
deleted
inserted
replaced
380 //data has not been loaded yet, so we need to back to collections view |
380 //data has not been loaded yet, so we need to back to collections view |
381 if (getViewManager()->currentView() == this) |
381 if (getViewManager()->currentView() == this) |
382 { |
382 { |
383 getViewManager()->activateView(EIRView_MainView); |
383 getViewManager()->activateView(EIRView_MainView); |
384 } |
384 } |
|
385 if((getViewManager()->currentViewId() == EIRView_MainView) || (getViewManager()->currentViewId() == EIRView_FavoritesView)) |
|
386 { |
|
387 IRBaseView *baseView = static_cast<IRBaseView*>(getViewManager()->currentView()); |
|
388 baseView->updateView(); |
|
389 } |
385 } |
390 } |
386 |
391 |
387 /* |
392 /* |
388 * Description : slot function for operation failure. The signal is emitted by isds client |
393 * Description : slot function for operation failure. The signal is emitted by isds client |
389 * Parameters : aError : see the definition of IRQError |
394 * Parameters : aError : see the definition of IRQError |
405 if (getViewManager()->currentView() == this && |
410 if (getViewManager()->currentView() == this && |
406 iListView->model()->rowCount() == 0) |
411 iListView->model()->rowCount() == 0) |
407 { |
412 { |
408 getViewManager()->activateView(EIRView_MainView); |
413 getViewManager()->activateView(EIRView_MainView); |
409 } |
414 } |
|
415 if((getViewManager()->currentViewId() == EIRView_MainView) || (getViewManager()->currentViewId() == EIRView_FavoritesView)) |
|
416 { |
|
417 IRBaseView *baseView = static_cast<IRBaseView*>(getViewManager()->currentView()); |
|
418 baseView->updateView(); |
|
419 } |
410 } |
420 } |
411 |
421 |
412 // private functions |
422 // private functions |
413 |
423 |
414 void IRCategoryView::connectToIsdsClient() |
424 void IRCategoryView::connectToIsdsClient() |