work save

This commit is contained in:
Roy Qu 2023-10-01 15:47:58 +08:00
parent 85cd761e36
commit 119add20d8
3 changed files with 4 additions and 4 deletions

View File

@ -9399,7 +9399,7 @@ void MainWindow::on_actionGit_Push_triggered()
void MainWindow::on_actionWebsite_triggered()
{
if (pSettings->environment().language()=="zh_CN") {
QDesktopServices::openUrl(QUrl("http://royqh.net/redpandacpp"));
QDesktopServices::openUrl(QUrl("https://royqh1979.gitee.io/redpandacpp"));
} else {
QDesktopServices::openUrl(QUrl("https://sourceforge.net/projects/redpanda-cpp/"));
}
@ -9822,7 +9822,7 @@ void MainWindow::on_actionSubmit_Issues_triggered()
void MainWindow::on_actionDocument_triggered()
{
QDesktopServices::openUrl(QUrl("http://royqh.net/redpandacpp/docsy/docs/usage"));
QDesktopServices::openUrl(QUrl("https://royqh1979.gitee.io/redpandacpp/docsy/docs/usage"));
}

View File

@ -112,7 +112,7 @@ void exportFreeProblemSet(const QList<POJProblem> &problems, const QString &file
{
writer.writeStartElement("generator");
writer.writeAttribute("name","RedPanda-C++");
writer.writeAttribute("url","http://royqh.net/redpandacpp");
writer.writeAttribute("url","https://royqh1979.gitee.io/redpandacpp");
writer.writeEndElement(); // generator
}
foreach(const POJProblem& problem,problems) {

View File

@ -49,7 +49,7 @@ AboutDialog::AboutDialog(QWidget *parent) :
QString website="https://sourceforge.net/projects/redpanda-cpp/";
if (pSettings->environment().language()=="zh_CN") {
website = "http://royqh.net/redpandacpp";
website = "https://royqh1979.gitee.io/redpandacpp";
}
ui->lblHomepage->setText(tr("Website: <a href=\"%1\">%1</a>").arg(website));
}