From 4eecf263b52ccba82e3ce081ee75f0aebd3173fe Mon Sep 17 00:00:00 2001 From: Roy Qu Date: Wed, 8 May 2024 09:56:00 +0800 Subject: [PATCH] update chinese website address --- RedPandaIDE/mainwindow.cpp | 4 ++-- RedPandaIDE/problems/freeprojectsetformat.cpp | 2 +- RedPandaIDE/widgets/aboutdialog.cpp | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/RedPandaIDE/mainwindow.cpp b/RedPandaIDE/mainwindow.cpp index 0ba748c1..0d3129ad 100644 --- a/RedPandaIDE/mainwindow.cpp +++ b/RedPandaIDE/mainwindow.cpp @@ -9591,7 +9591,7 @@ void MainWindow::on_actionGit_Push_triggered() void MainWindow::on_actionWebsite_triggered() { if (pSettings->environment().language()=="zh_CN") { - QDesktopServices::openUrl(QUrl("https://royqh1979.gitee.io/redpandacpp")); + QDesktopServices::openUrl(QUrl("http://royqh.net/redpandacpp/")); } else { QDesktopServices::openUrl(QUrl("https://sourceforge.net/projects/redpanda-cpp/")); } @@ -10013,7 +10013,7 @@ void MainWindow::on_actionSubmit_Issues_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")); } diff --git a/RedPandaIDE/problems/freeprojectsetformat.cpp b/RedPandaIDE/problems/freeprojectsetformat.cpp index cc696402..32f78ce6 100644 --- a/RedPandaIDE/problems/freeprojectsetformat.cpp +++ b/RedPandaIDE/problems/freeprojectsetformat.cpp @@ -112,7 +112,7 @@ void exportFreeProblemSet(const QList &problems, const QString &file { writer.writeStartElement("generator"); writer.writeAttribute("name","RedPanda-C++"); - writer.writeAttribute("url","https://royqh1979.gitee.io/redpandacpp"); + writer.writeAttribute("url","http://royqh.net/redpandacpp/"); writer.writeEndElement(); // generator } foreach(const POJProblem& problem,problems) { diff --git a/RedPandaIDE/widgets/aboutdialog.cpp b/RedPandaIDE/widgets/aboutdialog.cpp index 794c1320..425f0553 100644 --- a/RedPandaIDE/widgets/aboutdialog.cpp +++ b/RedPandaIDE/widgets/aboutdialog.cpp @@ -81,7 +81,7 @@ AboutDialog::AboutDialog(QWidget *parent) : QString website="https://sourceforge.net/projects/redpanda-cpp/"; if (pSettings->environment().language()=="zh_CN") { - website = "https://royqh1979.gitee.io/redpandacpp"; + website = "http://royqh.net/redpandacpp/"; } ui->lblHomepage->setText(tr("Website: %1").arg(website)); }