update chinese website address

This commit is contained in:
Roy Qu 2024-05-08 09:56:00 +08:00
parent 7b0b0587cd
commit 4eecf263b5
3 changed files with 4 additions and 4 deletions

View File

@ -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"));
} }

View File

@ -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) {

View File

@ -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));
} }