> === modified file 'launcher/UnityApplications/launcherapplication.cpp'
>
> @@ -394,6 +404,8 @@
> }
> if (m_has_visible_window != prev)
> emit hasVisibleWindowChanged(m_has_visible_window);
> +
> + Q_EMIT windowCountChanged(windowCount());
> }
>
>
> This is a hack taking advantage of the fact that
> LauncherApplication::updateHasVisibleWindow is called at the right time.
>
> Instead you need to define a slot that will do Q_EMIT
> windowCountChanged(windowCount()); and connect it to
> BamfApplication::WindowAdded and BamfApplication::WindowRemoved signals.
> === modified file 'launcher/ UnityApplicatio ns/launcherappl ication. cpp' visible_ window != prev) wChanged( m_has_visible_ window) ; ged(windowCount ()); tion::updateHas VisibleWindow is called at the right time. ged(windowCount ()); and connect it to ::WindowAdded and BamfApplication ::WindowRemoved signals.
>
> @@ -394,6 +404,8 @@
> }
> if (m_has_
> emit hasVisibleWindo
> +
> + Q_EMIT windowCountChan
> }
>
>
> This is a hack taking advantage of the fact that
> LauncherApplica
>
> Instead you need to define a slot that will do Q_EMIT
> windowCountChan
> BamfApplication
I suggest calling the slot 'updateWindowCo unt'.