StelObjectMgr.cpp   StelObjectMgr.cpp 
skipping to change at line 58 skipping to change at line 58
// Deselect the selected object // Deselect the selected object
if (event->button()==Qt::RightButton && event->type()==QEvent::Mouse ButtonRelease) if (event->button()==Qt::RightButton && event->type()==QEvent::Mouse ButtonRelease)
{ {
unSelect(); unSelect();
event->accept(); event->accept();
return; return;
} }
StelMovementMgr* mvmgr = GETSTELMODULE(StelMovementMgr); StelMovementMgr* mvmgr = GETSTELMODULE(StelMovementMgr);
if (event->button()==Qt::LeftButton && event->type()==QEvent::MouseB uttonRelease && !mvmgr->getHasDragged()) if (event->button()==Qt::LeftButton && event->type()==QEvent::MouseB uttonRelease && !mvmgr->getHasDragged())
{ {
#ifdef MACOSX #ifdef Q_OS_MAC
// CTRL + left clic = right clic for 1 button mouse // CTRL + left clic = right clic for 1 button mouse
if (event->modifiers().testFlag(Qt::ControlModifier)) if (event->modifiers().testFlag(Qt::ControlModifier))
{ {
unSelect(); unSelect();
event->accept(); event->accept();
return; return;
} }
// Try to select object at that position // Try to select object at that position
findAndSelect(StelApp::getInstance().getCore(), event->x(), event->y(), findAndSelect(StelApp::getInstance().getCore(), event->x(), event->y(),
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/