From 18aa239b40b918cc8a0c37f74f815b4e249139ad Mon Sep 17 00:00:00 2001 From: Roy Qu Date: Sat, 26 Aug 2023 17:00:04 +0800 Subject: [PATCH] change website url --- README.md | 2 +- RedPandaIDE/mainwindow.cpp | 4 ++-- RedPandaIDE/problems/freeprojectsetformat.cpp | 2 +- RedPandaIDE/widgets/aboutdialog.cpp | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 35902f7d..d440ab26 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # RedPanda C++ Red Panda C++ (Old name: Red Panda Dev-C++ 7) is an fast ,lightweight, open source, and cross platform C/C++/GNU Assembly IDE. -Simplified Chinese Website: [https://royqh1979.gitee.io/redpandacpp/](https://royqh1979.gitee.io/redpandacpp/) +Simplified Chinese Website: [http://royqh.net/redpandacpp](http://royqh.net/redpandacpp) English Website: [https://sourceforge.net/projects/redpanda-cpp](https://sourceforge.net/projects/redpanda-cpp) diff --git a/RedPandaIDE/mainwindow.cpp b/RedPandaIDE/mainwindow.cpp index a66ef292..6f0b979c 100644 --- a/RedPandaIDE/mainwindow.cpp +++ b/RedPandaIDE/mainwindow.cpp @@ -9400,7 +9400,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/")); } @@ -9823,7 +9823,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 f7e9216a..27c1d8c6 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 86ebb55b..0c298183 100644 --- a/RedPandaIDE/widgets/aboutdialog.cpp +++ b/RedPandaIDE/widgets/aboutdialog.cpp @@ -49,7 +49,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)); }