~georg-zotti/stellarium/refraction

« back to all changes in this revision

Viewing changes to src/core/StelMovementMgr.cpp

  • Committer: Georg Zotti
  • Date: 2011-02-18 12:37:55 UTC
  • mfrom: (4821.1.54 trunk)
  • Revision ID: georg.zotti@univie.ac.at-20110218123755-9wcuyyah7g0m1qs7
Merge-update from Trunk R4875

Show diffs side-by-side

added added

removed removed

Lines of Context:
64
64
        objectMgr = GETSTELMODULE(StelObjectMgr);
65
65
        Q_ASSERT(conf);
66
66
        Q_ASSERT(objectMgr);
67
 
 
 
67
        connect(objectMgr, SIGNAL(selectedObjectChanged(StelModule::StelModuleSelectAction)), 
 
68
                        this, SLOT(selectedObjectChange(StelModule::StelModuleSelectAction)));
 
69
        
68
70
        movementsSpeedFactor=1.;
69
71
        flagEnableMoveAtScreenEdge = conf->value("navigation/flag_enable_move_at_screen_edge",false).toBool();
70
72
        mouseZoomSpeed = conf->value("navigation/mouse_zoom",30).toInt();
385
387
/*************************************************************************
386
388
 The selected objects changed, follow it it we were already following another one
387
389
*************************************************************************/
388
 
void StelMovementMgr::selectedObjectChangeCallBack(StelModuleSelectAction)
 
390
void StelMovementMgr::selectedObjectChange(StelModule::StelModuleSelectAction)
389
391
{
390
392
        // If an object was selected keep the earth following
391
393
        if (objectMgr->getWasSelected())