SolarSystemManagerWindow.cpp   SolarSystemManagerWindow.cpp 
skipping to change at line 61 skipping to change at line 61
delete mpcImportWindow; delete mpcImportWindow;
if (manualImportWindow) if (manualImportWindow)
delete manualImportWindow; delete manualImportWindow;
} }
void SolarSystemManagerWindow::createDialogContent() void SolarSystemManagerWindow::createDialogContent()
{ {
ui->setupUi(dialog); ui->setupUi(dialog);
//Signals //Signals
connect(&StelApp::getInstance(), SIGNAL(languageChanged()), this, SL OT(languageChanged()));
connect(ui->closeStelWindow, SIGNAL(clicked()), this, SLOT(close())) ; connect(ui->closeStelWindow, SIGNAL(clicked()), this, SLOT(close())) ;
connect(ui->pushButtonCopyFile, SIGNAL(clicked()), this, SLOT(copyCo nfiguration())); connect(ui->pushButtonCopyFile, SIGNAL(clicked()), this, SLOT(copyCo nfiguration()));
connect(ui->pushButtonReplaceFile, SIGNAL(clicked()), this, SLOT(rep laceConfiguration())); connect(ui->pushButtonReplaceFile, SIGNAL(clicked()), this, SLOT(rep laceConfiguration()));
connect(ui->pushButtonRemove, SIGNAL(clicked()), this, SLOT(removeOb ject())); connect(ui->pushButtonRemove, SIGNAL(clicked()), this, SLOT(removeOb ject()));
connect(ui->pushButtonImportMPC, SIGNAL(clicked()), this, SLOT(newIm portMPC())); connect(ui->pushButtonImportMPC, SIGNAL(clicked()), this, SLOT(newIm portMPC()));
connect(ui->pushButtonManual, SIGNAL(clicked()), this, SLOT(newImpor tManual())); connect(ui->pushButtonManual, SIGNAL(clicked()), this, SLOT(newImpor tManual()));
connect(ssoManager, SIGNAL(solarSystemChanged()), this, SLOT(populat eSolarSystemList())); connect(ssoManager, SIGNAL(solarSystemChanged()), this, SLOT(populat eSolarSystemList()));
connect(ui->pushButtonReset, SIGNAL(clicked()), ssoManager, SLOT(res etSolarSystemToDefault())); connect(ui->pushButtonReset, SIGNAL(clicked()), ssoManager, SLOT(res etSolarSystemToDefault()));
skipping to change at line 92 skipping to change at line 93
} }
void SolarSystemManagerWindow::languageChanged() void SolarSystemManagerWindow::languageChanged()
{ {
if (dialog) if (dialog)
{ {
ui->retranslateUi(dialog); ui->retranslateUi(dialog);
populateSolarSystemList(); populateSolarSystemList();
ui->labelVersion->setText(QString("Version %1").arg(PLUGIN_V ERSION)); ui->labelVersion->setText(QString("Version %1").arg(PLUGIN_V ERSION));
} }
if (mpcImportWindow)
mpcImportWindow->languageChanged();
} }
void SolarSystemManagerWindow::newImportMPC() void SolarSystemManagerWindow::newImportMPC()
{ {
Q_ASSERT(mpcImportWindow); Q_ASSERT(mpcImportWindow);
mpcImportWindow->setVisible(true); mpcImportWindow->setVisible(true);
} }
void SolarSystemManagerWindow::newImportManual() void SolarSystemManagerWindow::newImportManual()
 End of changes. 2 change blocks. 
3 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/