RemoteControlDialog.cpp   RemoteControlDialog.cpp 
skipping to change at line 32 skipping to change at line 32
#include "RemoteControlDialog.hpp" #include "RemoteControlDialog.hpp"
#include "ui_remoteControlDialog.h" #include "ui_remoteControlDialog.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"
RemoteControlDialog::RemoteControlDialog() RemoteControlDialog::RemoteControlDialog()
: StelDialog("RemoteControl") : StelDialog("RemoteControl")
, rc(NULL) , rc(Q_NULLPTR)
{ {
ui = new Ui_remoteControlDialog(); ui = new Ui_remoteControlDialog();
} }
RemoteControlDialog::~RemoteControlDialog() RemoteControlDialog::~RemoteControlDialog()
{ {
delete ui; delete ui;
} }
void RemoteControlDialog::retranslate() void RemoteControlDialog::retranslate()
skipping to change at line 140 skipping to change at line 140
html += "<li>" + QString(q_("If you have a question, you can %1get a n answer here%2").arg("<a href=\"https://answers.launchpad.net/stellarium\" >")).arg("</a>") + "</li>"; html += "<li>" + QString(q_("If you have a question, you can %1get a n answer here%2").arg("<a href=\"https://answers.launchpad.net/stellarium\" >")).arg("</a>") + "</li>";
// TRANSLATORS: The numbers contain the opening and closing tag of a n HTML link // TRANSLATORS: The numbers contain the opening and closing tag of a n HTML link
html += "<li>" + QString(q_("Bug reports can be made %1here%2.")).ar g("<a href=\"https://bugs.launchpad.net/stellarium\">").arg("</a>") + "</li >"; html += "<li>" + QString(q_("Bug reports can be made %1here%2.")).ar g("<a href=\"https://bugs.launchpad.net/stellarium\">").arg("</a>") + "</li >";
// TRANSLATORS: The numbers contain the opening and closing tag of a n HTML link // TRANSLATORS: The numbers contain the opening and closing tag of a n HTML link
html += "<li>" + q_("If you would like to make a feature request, yo u can create a bug report, and set the severity to \"wishlist\".") + "</li> "; html += "<li>" + q_("If you would like to make a feature request, yo u can create a bug report, and set the severity to \"wishlist\".") + "</li> ";
// TRANSLATORS: The numbers contain the opening and closing tag of a n HTML link // TRANSLATORS: The numbers contain the opening and closing tag of a n HTML link
html += "<li>" + q_("If you want to read full information about this plugin and its history, you can %1get info here%2.").arg("<a href=\"http:/ /stellarium.org/wiki/index.php/RemoteControl_plugin\">").arg("</a>") + "</l i>"; html += "<li>" + q_("If you want to read full information about this plugin and its history, you can %1get info here%2.").arg("<a href=\"http:/ /stellarium.org/wiki/index.php/RemoteControl_plugin\">").arg("</a>") + "</l i>";
html += "</ul></p></body></html>"; html += "</ul></p></body></html>";
StelGui* gui = dynamic_cast<StelGui*>(StelApp::getInstance().getGui( )); StelGui* gui = dynamic_cast<StelGui*>(StelApp::getInstance().getGui( ));
if(gui!=NULL) if(gui!=Q_NULLPTR)
{ {
QString htmlStyleSheet(gui->getStelStyle().htmlStyleSheet); QString htmlStyleSheet(gui->getStelStyle().htmlStyleSheet);
ui->aboutTextBrowser->document()->setDefaultStyleSheet(htmlS tyleSheet); ui->aboutTextBrowser->document()->setDefaultStyleSheet(htmlS tyleSheet);
} }
ui->aboutTextBrowser->setHtml(html); ui->aboutTextBrowser->setHtml(html);
} }
void RemoteControlDialog::requiresRestart() void RemoteControlDialog::requiresRestart()
{ {
ui->restartPanel->setVisible(rc->getFlagEnabled()); ui->restartPanel->setVisible(rc->getFlagEnabled());
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 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/