adopted for qt project. drone flight time getter fixed.