update chinese website address
This commit is contained in:
parent
7b0b0587cd
commit
4eecf263b5
|
@ -9591,7 +9591,7 @@ void MainWindow::on_actionGit_Push_triggered()
|
||||||
void MainWindow::on_actionWebsite_triggered()
|
void MainWindow::on_actionWebsite_triggered()
|
||||||
{
|
{
|
||||||
if (pSettings->environment().language()=="zh_CN") {
|
if (pSettings->environment().language()=="zh_CN") {
|
||||||
QDesktopServices::openUrl(QUrl("https://royqh1979.gitee.io/redpandacpp"));
|
QDesktopServices::openUrl(QUrl("http://royqh.net/redpandacpp/"));
|
||||||
} else {
|
} else {
|
||||||
QDesktopServices::openUrl(QUrl("https://sourceforge.net/projects/redpanda-cpp/"));
|
QDesktopServices::openUrl(QUrl("https://sourceforge.net/projects/redpanda-cpp/"));
|
||||||
}
|
}
|
||||||
|
@ -10013,7 +10013,7 @@ void MainWindow::on_actionSubmit_Issues_triggered()
|
||||||
|
|
||||||
void MainWindow::on_actionDocument_triggered()
|
void MainWindow::on_actionDocument_triggered()
|
||||||
{
|
{
|
||||||
QDesktopServices::openUrl(QUrl("https://royqh1979.gitee.io/redpandacpp/docsy/docs/usage"));
|
QDesktopServices::openUrl(QUrl("http://royqh.net/redpandacpp//docsy/docs/usage"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -112,7 +112,7 @@ void exportFreeProblemSet(const QList<POJProblem> &problems, const QString &file
|
||||||
{
|
{
|
||||||
writer.writeStartElement("generator");
|
writer.writeStartElement("generator");
|
||||||
writer.writeAttribute("name","RedPanda-C++");
|
writer.writeAttribute("name","RedPanda-C++");
|
||||||
writer.writeAttribute("url","https://royqh1979.gitee.io/redpandacpp");
|
writer.writeAttribute("url","http://royqh.net/redpandacpp/");
|
||||||
writer.writeEndElement(); // generator
|
writer.writeEndElement(); // generator
|
||||||
}
|
}
|
||||||
foreach(const POJProblem& problem,problems) {
|
foreach(const POJProblem& problem,problems) {
|
||||||
|
|
|
@ -81,7 +81,7 @@ AboutDialog::AboutDialog(QWidget *parent) :
|
||||||
|
|
||||||
QString website="https://sourceforge.net/projects/redpanda-cpp/";
|
QString website="https://sourceforge.net/projects/redpanda-cpp/";
|
||||||
if (pSettings->environment().language()=="zh_CN") {
|
if (pSettings->environment().language()=="zh_CN") {
|
||||||
website = "https://royqh1979.gitee.io/redpandacpp";
|
website = "http://royqh.net/redpandacpp/";
|
||||||
}
|
}
|
||||||
ui->lblHomepage->setText(tr("Website: <a href=\"%1\">%1</a>").arg(website));
|
ui->lblHomepage->setText(tr("Website: <a href=\"%1\">%1</a>").arg(website));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue