equal
deleted
inserted
replaced
518 { |
518 { |
519 ui.pageScheme->selectScheme->setCurrentIndex(ui.pageOptions->SchemesName->currentIndex()); |
519 ui.pageScheme->selectScheme->setCurrentIndex(ui.pageOptions->SchemesName->currentIndex()); |
520 GoToPage(ID_PAGE_SCHEME); |
520 GoToPage(ID_PAGE_SCHEME); |
521 } |
521 } |
522 |
522 |
|
523 void HWForm::GoToVideos() |
|
524 { |
|
525 GoToPage(ID_PAGE_VIDEOS); |
|
526 } |
|
527 |
523 void HWForm::OnPageShown(quint8 id, quint8 lastid) |
528 void HWForm::OnPageShown(quint8 id, quint8 lastid) |
524 { |
529 { |
525 #ifdef USE_XFIRE |
530 #ifdef USE_XFIRE |
526 updateXfire(); |
531 updateXfire(); |
527 #endif |
532 #endif |
715 { |
720 { |
716 bool stopAnim = false; |
721 bool stopAnim = false; |
717 int curid = ui.Pages->currentIndex(); |
722 int curid = ui.Pages->currentIndex(); |
718 if (curid == ID_PAGE_MAIN) |
723 if (curid == ID_PAGE_MAIN) |
719 { |
724 { |
|
725 if (!ui.pageVideos->tryQuit(this)) |
|
726 return; |
720 stopAnim = true; |
727 stopAnim = true; |
721 exit(); |
728 exit(); |
722 } |
729 } |
723 |
730 |
724 int id = PagesStack.isEmpty() ? ID_PAGE_MAIN : PagesStack.pop(); |
731 int id = PagesStack.isEmpty() ? ID_PAGE_MAIN : PagesStack.pop(); |