Skip to content

Commit

Permalink
Change "documentation" to "Wiki" link in help menu
Browse files Browse the repository at this point in the history
  • Loading branch information
mortbopet committed Jan 7, 2019
1 parent d6090e8 commit cff4be8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
5 changes: 2 additions & 3 deletions src/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,8 @@ void MainWindow::on_actionAbout_triggered() {
about.exec();
}

void MainWindow::on_actionOpen_documentation_triggered() {
// Look for documentation pdf
QDesktopServices::openUrl(QUrl(QString("https://github.com/mortbopet/Ripes")));
void MainWindow::on_actionOpen_wiki_triggered() {
QDesktopServices::openUrl(QUrl(QString("https://github.com/mortbopet/Ripes/wiki")));
}

void MainWindow::on_actionSave_Assembly_File_triggered() {
Expand Down
2 changes: 1 addition & 1 deletion src/mainwindow.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ private slots:

void on_actionAbout_triggered();

void on_actionOpen_documentation_triggered();
void on_actionOpen_wiki_triggered();
void processorUpdated() { emit updateMemoryTab(); }

void on_actionSave_Assembly_File_triggered();
Expand Down
8 changes: 4 additions & 4 deletions src/mainwindow.ui
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
<x>0</x>
<y>0</y>
<width>689</width>
<height>20</height>
<height>22</height>
</rect>
</property>
<widget class="QMenu" name="menuFile">
Expand All @@ -99,7 +99,7 @@
<string>Help</string>
</property>
<addaction name="actionAbout"/>
<addaction name="actionOpen_documentation"/>
<addaction name="actionOpen_wiki"/>
</widget>
<addaction name="menuFile"/>
<addaction name="menuHelp"/>
Expand Down Expand Up @@ -185,9 +185,9 @@
<string>About</string>
</property>
</action>
<action name="actionOpen_documentation">
<action name="actionOpen_wiki">
<property name="text">
<string>Documentation</string>
<string>Wiki</string>
</property>
</action>
<action name="actionSave_Assembly_File">
Expand Down

0 comments on commit cff4be8

Please sign in to comment.