Skip to content
Permalink
Browse files

KeyboardControlHandler: remove unused parameter

  • Loading branch information
jef-n committed Jun 24, 2013
1 parent f4744f6 commit 0992180b98d596293c0aa68ca4c884e83f134a6b
Showing with 3 additions and 4 deletions.
  1. +2 −3 src/plugins/globe/globe_plugin.cpp
  2. +1 −1 src/plugins/globe/globe_plugin.h
@@ -310,10 +310,9 @@ void GlobePlugin::run()

// add our handlers
mOsgViewer->addEventHandler( new FlyToExtentHandler( this ) );
mOsgViewer->addEventHandler( new KeyboardControlHandler( manip, mQGisIface ) );
mOsgViewer->addEventHandler( new KeyboardControlHandler( manip ) );

#ifdef HAVE_OSGEARTH_ELEVATION_QUERY
#else
#ifndef HAVE_OSGEARTH_ELEVATION_QUERY
mOsgViewer->addEventHandler( new QueryCoordinatesHandler( this, mElevationManager,
mMapNode->getMap()->getProfile()->getSRS() )
);
@@ -200,7 +200,7 @@ class QueryCoordinatesHandler : public osgGA::GUIEventHandler
class KeyboardControlHandler : public osgGA::GUIEventHandler
{
public:
KeyboardControlHandler( osgEarth::Util::EarthManipulator* manip, QgisInterface * ) : _manip( manip ) { }
KeyboardControlHandler( osgEarth::Util::EarthManipulator* manip ) : _manip( manip ) { }

bool handle( const osgGA::GUIEventAdapter& ea, osgGA::GUIActionAdapter& aa );

0 comments on commit 0992180

Please sign in to comment.
You can’t perform that action at this time.