changeset 7353 | 0e55228e1303 |
parent 7347 | 88685fbb2679 |
child 7376 | 48b79b3ca592 |
--- a/QTfrontend/hwform.cpp Fri Jul 06 13:22:33 2012 +0400 +++ b/QTfrontend/hwform.cpp Fri Jul 06 19:15:44 2012 +0400 @@ -520,6 +520,11 @@ GoToPage(ID_PAGE_SCHEME); } +void HWForm::GoToVideos() +{ + GoToPage(ID_PAGE_VIDEOS); +} + void HWForm::OnPageShown(quint8 id, quint8 lastid) { #ifdef USE_XFIRE @@ -717,6 +722,8 @@ int curid = ui.Pages->currentIndex(); if (curid == ID_PAGE_MAIN) { + if (!ui.pageVideos->tryQuit(this)) + return; stopAnim = true; exit(); }