FOV.cpp   FOV.cpp 
skipping to change at line 86 skipping to change at line 86
// populate settings from main config file. // populate settings from main config file.
readSettingsFromConfig(); readSettingsFromConfig();
// key bindings // key bindings
QSignalMapper* mapper = new QSignalMapper(this); QSignalMapper* mapper = new QSignalMapper(this);
QString section = N_("Field of View"); QString section = N_("Field of View");
for (int i=0; i<10; i++) for (int i=0; i<10; i++)
{ {
QString name = QString("actionSet_FOV_%1").arg(i); QString name = QString("actionSet_FOV_%1").arg(i);
QString shortcut = QString("Ctrl+Alt+%1").arg(i); QString shortcut = QString("Ctrl+Alt+%1").arg(i);
QString text = QString("%1 %2%3").arg(N_("Set FOV to")).arg( getQuickFOV(i)).arg(QChar(0x00B0)); QString text = QString("%1 %2%3").arg(q_("Set FOV to")).arg( getQuickFOV(i)).arg(QChar(0x00B0));
StelAction* action = addAction(name, section, text, mapper, "map()", shortcut); StelAction* action = addAction(name, section, text, mapper, "map()", shortcut);
mapper->setMapping(action,i); mapper->setMapping(action,i);
} }
connect(mapper,SIGNAL(mapped(int)),this,SLOT(setFOV(int))); connect(mapper,SIGNAL(mapped(int)),this,SLOT(setFOV(int)));
} }
void FOV::deinit() void FOV::deinit()
{ {
// //
} }
 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/