- enhancement: F1 shorcut opens offcial website

This commit is contained in:
Roy Qu 2022-04-12 14:03:33 +08:00
parent fa0404117f
commit d3c780a3a5
3 changed files with 5 additions and 1 deletions

View File

@ -2,6 +2,7 @@ Red Panda C++ Version 1.0.4
- fix: hide function tips, when move or resize the main window - fix: hide function tips, when move or resize the main window
- enhancement: add help link for regular expression in search dialog - enhancement: add help link for regular expression in search dialog
- enhancement: remember current problem set's filename - enhancement: remember current problem set's filename
- enhancement: F1 shorcut opens offcial website
Red Panda C++ Version 1.0.3 Red Panda C++ Version 1.0.3
- fix: when oj problem grabbed by competitive companion received, - fix: when oj problem grabbed by competitive companion received,

View File

@ -7256,7 +7256,7 @@ void MainWindow::on_actionGit_Restore_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("https://royqh1979.gitee.io/redpandacpp/docsy/docs/"));
} else { } else {
QDesktopServices::openUrl(QUrl("https://sourceforge.net/projects/redpanda-cpp/")); QDesktopServices::openUrl(QUrl("https://sourceforge.net/projects/redpanda-cpp/"));
} }

View File

@ -2953,6 +2953,9 @@
<property name="text"> <property name="text">
<string>Website</string> <string>Website</string>
</property> </property>
<property name="shortcut">
<string>F1</string>
</property>
</action> </action>
<action name="actionGit_Branch"> <action name="actionGit_Branch">
<property name="text"> <property name="text">