on xenial help sign in
added comment to active property
commitf696961f3abe19233c7d56a3fe3f28ffed8c6244 authorNick Dedekind <nicholas.dedekind@gmail.com> dateThu 3 Jul 2014, 14:20 (12 years ago) parent90ac277
1 file changed+3
qml/Panel/ActiveCallHint.qml+3
qml/Panel/ActiveCallHint.qml+3
@@ -27,12 +27,15 @@ Item {
2727 var application = ApplicationManager.findApplication("dialer-app");
2828
2929 if (callManager.callIndicatorVisible) {
30+ // at the moment, callIndicatorVisible is only "valid" if dialer is in focus.
3031 if (application && ApplicationManager.focusedApplicationId === "dialer-app") {
32+ // Don't show if application is still starting; might get a fleeting true/false.
3133 return application.state !== ApplicationInfoInterface.Starting;
3234 }
3335 }
3436 if (ApplicationManager.focusedApplicationId !== "dialer-app") {
3537 if (application) {
38+ // Don't show if application is still starting; might get a fleeting true/false.
3639 return application.state !== ApplicationInfoInterface.Starting && callManager.hasCalls;
3740 }
3841 return callManager.hasCalls;