equal
deleted
inserted
replaced
596 #ifdef USE_XFIRE |
596 #ifdef USE_XFIRE |
597 updateXfire(); |
597 updateXfire(); |
598 #endif |
598 #endif |
599 |
599 |
600 qDebug("Leaving %s, entering %s", qPrintable(stringifyPageId(lastid)), qPrintable(stringifyPageId(id))); |
600 qDebug("Leaving %s, entering %s", qPrintable(stringifyPageId(lastid)), qPrintable(stringifyPageId(id))); |
|
601 if (lastid == ID_PAGE_MAIN) |
|
602 { |
|
603 ui.pageMain->toggleNetworkChoice(); |
|
604 } |
601 |
605 |
602 // pageEnter and pageLeave events |
606 // pageEnter and pageLeave events |
603 ((AbstractPage*)ui.Pages->widget(lastid))->triggerPageLeave(); |
607 ((AbstractPage*)ui.Pages->widget(lastid))->triggerPageLeave(); |
604 ((AbstractPage*)ui.Pages->widget(id))->triggerPageEnter(); |
608 ((AbstractPage*)ui.Pages->widget(id))->triggerPageEnter(); |
605 |
609 |