Skip to content

Commit

Permalink
Rename Help->Documentation to Help->Website
Browse files Browse the repository at this point in the history
  • Loading branch information
radare committed Aug 7, 2023
1 parent 1896d7f commit 9101519
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/core/MainWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ void MainWindow::initUI()

connect(ui->actionSaveLayout, &QAction::triggered, this, &MainWindow::saveNamedLayout);
connect(ui->actionManageLayouts, &QAction::triggered, this, &MainWindow::manageLayouts);
connect(ui->actionDocumentation, &QAction::triggered, this, &MainWindow::documentationClicked);
connect(ui->actionWebsite, &QAction::triggered, this, &MainWindow::websiteClicked);

/* Setup plugins interfaces */
const auto &plugins = Plugins()->getPlugins();
Expand Down Expand Up @@ -1596,7 +1596,7 @@ void MainWindow::on_actionIssue_triggered()
openIssue();
}

void MainWindow::documentationClicked()
void MainWindow::websiteClicked()
{
QDesktopServices::openUrl(QUrl("https://www.radare.org"));
}
Expand Down
2 changes: 1 addition & 1 deletion src/core/MainWindow.h
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ public slots:
private slots:
void on_actionAbout_triggered();
void on_actionIssue_triggered();
void documentationClicked();
void websiteClicked();
void addExtraGraph();
void addExtraHexdump();
void addExtraDisassembly();
Expand Down
6 changes: 3 additions & 3 deletions src/core/MainWindow.ui
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@
<string>Help</string>
</property>
<addaction name="actionIssue"/>
<addaction name="actionDocumentation"/>
<addaction name="actionWebsite"/>
<addaction name="separator"/>
<addaction name="actionAbout"/>
</widget>
Expand Down Expand Up @@ -274,9 +274,9 @@
<string>Save layout</string>
</property>
</action>
<action name="actionDocumentation">
<action name="actionWebsite">
<property name="text">
<string>Documentation</string>
<string>Website</string>
</property>
</action>
<action name="actionMap">
Expand Down

0 comments on commit 9101519

Please sign in to comment.