0

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.

Angs
  • 1,605
  • 2
  • 23
  • 47

2 Answers2

0

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

Angs
  • 1,605
  • 2
  • 23
  • 47
0

I find that it is simpler to

this->setInputEnabled(false);

and control everything about the map with my own buttons