nemomobile/buteo-syncfw — pull request #11 by rainemak (2013-06-25 10:55:19+00:00)
Title: Fix qt5 sync

Disable battery status checking for Qt5 and forward signal opened network session out from NetworkManager as connectionSuccess.

Forward signaled connectionSuccess() is connected to slotNetworkSessionOpened. The slotNetworkSessionOpened need to be called to get scheduled sync running. The slotNetworkSessionOpened should also get called by state change handle of NetworkManager.cpp. However, stateChange signal originates from QNetworkSessionPrivate that is created by QBearerEngine (createSessionBackend) -- plugins. Thus, it's not guaranteed that all states are always triggered similarly.