Skip to content

Commit

Permalink
KeyboardControlHandler: remove unused parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Jun 24, 2013
1 parent f4744f6 commit 0992180
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions src/plugins/globe/globe_plugin.cpp
Expand Up @@ -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() )
);
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/globe/globe_plugin.h
Expand Up @@ -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 );

Expand Down

0 comments on commit 0992180

Please sign in to comment.