equal
deleted
inserted
replaced
76 // 2.1. Except if thre is no current CBA at all and WindowSoftkeysRespondHint is set |
76 // 2.1. Except if thre is no current CBA at all and WindowSoftkeysRespondHint is set |
77 |
77 |
78 // Note: Cannot use IsDisplayingMenuOrDialog since CBA update can be triggered before |
78 // Note: Cannot use IsDisplayingMenuOrDialog since CBA update can be triggered before |
79 // menu/dialog CBA is actually displayed i.e. it is being costructed. |
79 // menu/dialog CBA is actually displayed i.e. it is being costructed. |
80 CEikButtonGroupContainer *appUiCba = S60->buttonGroupContainer(); |
80 CEikButtonGroupContainer *appUiCba = S60->buttonGroupContainer(); |
|
81 if (!appUiCba) |
|
82 return true; |
81 // CEikButtonGroupContainer::Current returns 0 if CBA is not visible at all |
83 // CEikButtonGroupContainer::Current returns 0 if CBA is not visible at all |
82 CEikButtonGroupContainer *currentCba = CEikButtonGroupContainer::Current(); |
84 CEikButtonGroupContainer *currentCba = CEikButtonGroupContainer::Current(); |
83 // Check if softkey need to be update even they are not visible |
85 // Check if softkey need to be update even they are not visible |
84 bool cbaRespondsWhenInvisible = false; |
86 bool cbaRespondsWhenInvisible = false; |
85 QWidget *window = QApplication::activeWindow(); |
87 QWidget *window = QApplication::activeWindow(); |