Angs Angs - 1 year ago 159
C++ Question

How to disable KDE Marble map movement?

I am using KDE Marble API on C++ Qt5.5.

When I drag and move left mouse, map continues moving after the mouse release.

How can I disable this feature on a Marble Widget?

I tried to see inputhandler or set.. functions, but couldn't see any related function to disable it.

Answer Source

marbleWidget->inputHandler()->setInertialEarthRotationEnabled( false ); is the solution

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download