c++qtkde-plasmamarble

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.


Solution

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