ArchaeoLinesDialog.cpp   ArchaeoLinesDialog.cpp 
skipping to change at line 32 skipping to change at line 32
#include "ui_archaeoLinesDialog.h" #include "ui_archaeoLinesDialog.h"
#include "StelApp.hpp" #include "StelApp.hpp"
#include "StelLocaleMgr.hpp" #include "StelLocaleMgr.hpp"
#include "StelModule.hpp" #include "StelModule.hpp"
#include "StelModuleMgr.hpp" #include "StelModuleMgr.hpp"
#include "StelMainView.hpp" #include "StelMainView.hpp"
#include "StelOpenGL.hpp" #include "StelOpenGL.hpp"
ArchaeoLinesDialog::ArchaeoLinesDialog() ArchaeoLinesDialog::ArchaeoLinesDialog()
: al(NULL) : StelDialog("ArchaeoLines")
, al(NULL)
{ {
dialogName = "ArchaeoLines";
ui = new Ui_archaeoLinesDialog(); ui = new Ui_archaeoLinesDialog();
} }
ArchaeoLinesDialog::~ArchaeoLinesDialog() ArchaeoLinesDialog::~ArchaeoLinesDialog()
{ {
delete ui; ui=NULL; delete ui; ui=NULL;
} }
void ArchaeoLinesDialog::retranslate() void ArchaeoLinesDialog::retranslate()
{ {
skipping to change at line 225 skipping to change at line 225
connect(ui->customAzimuth2ColorToolButton, SIGNAL(released()), this, SLOT(askCustomAzimuth2Color())); connect(ui->customAzimuth2ColorToolButton, SIGNAL(released()), this, SLOT(askCustomAzimuth2Color()));
connect(ui->customDeclination1ColorToolButton, SIGNAL(released()), this, SLOT(askCustomDeclination1Color())); connect(ui->customDeclination1ColorToolButton, SIGNAL(released()), this, SLOT(askCustomDeclination1Color()));
connect(ui->customDeclination2ColorToolButton, SIGNAL(released()), this, SLOT(askCustomDeclination2Color())); connect(ui->customDeclination2ColorToolButton, SIGNAL(released()), this, SLOT(askCustomDeclination2Color()));
connect(ui->restoreDefaultsButton, SIGNAL(clicked()), this, SLOT(res etArchaeoLinesSettings())); connect(ui->restoreDefaultsButton, SIGNAL(clicked()), this, SLOT(res etArchaeoLinesSettings()));
// We must apparently warn about a potential problem, but only on Wi ndows in OpenGL mode. (QTBUG-35302?) // We must apparently warn about a potential problem, but only on Wi ndows in OpenGL mode. (QTBUG-35302?)
#ifndef Q_OS_WIN #ifndef Q_OS_WIN
ui->switchToWindowedModeLabel->hide(); ui->switchToWindowedModeLabel->hide();
#else #else
QString glRenderer(reinterpret_cast<const char*>(glGetString(GL_REND // don't call GL functions in GUI code please
ERER))); if (StelMainView::getInstance().getGLInformation().renderer.startsWi
if (glRenderer.startsWith("ANGLE", Qt::CaseSensitive)) th("ANGLE", Qt::CaseSensitive))
ui->switchToWindowedModeLabel->hide(); ui->switchToWindowedModeLabel->hide();
#endif #endif
setAboutHtml(); setAboutHtml();
} }
void ArchaeoLinesDialog::setCurrentPlanetFromGUI(int index) void ArchaeoLinesDialog::setCurrentPlanetFromGUI(int index)
{ {
Q_ASSERT(al); Q_ASSERT(al);
al->showCurrentPlanet((ArchaeoLine::Line) (ArchaeoLine::CurrentPlane tNone+index)); al->showCurrentPlanet((ArchaeoLine::Line) (ArchaeoLine::CurrentPlane tNone+index));
} }
 End of changes. 3 change blocks. 
5 lines changed or deleted 5 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/