change website url

This commit is contained in:
Roy Qu 2023-08-26 17:00:04 +08:00
parent 257b81ca3f
commit 18aa239b40
4 changed files with 5 additions and 5 deletions

View File

@ -1,7 +1,7 @@
# RedPanda C++ # 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. 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) English Website: [https://sourceforge.net/projects/redpanda-cpp](https://sourceforge.net/projects/redpanda-cpp)

View File

@ -9400,7 +9400,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/"));
} }
@ -9823,7 +9823,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

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