WSL/SLF GitLab Repository
Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
snow-models
inishell
Commits
81f89cf7
Commit
81f89cf7
authored
Jan 25, 2022
by
Mathias Bavay
Browse files
Enabled the paper menu entry in the Help window
It has also been slightly renamed...
parent
e7555dce
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/gui/HelpWindow.cc
View file @
81f89cf7
...
...
@@ -132,10 +132,9 @@ void HelpWindow::createMenu()
menu_view
->
addAction
(
view_file_bugreport_
);
connect
(
view_file_bugreport_
,
&
QAction
::
triggered
,
[]{
QDesktopServices
::
openUrl
(
QUrl
(
"https://gitlabext.wsl.ch/snow-models/inishell/-/issues"
));
});
auto
*
show_paper
=
new
QAction
(
tr
(
"
Show
&paper..."
),
menu_view
);
auto
*
show_paper
=
new
QAction
(
tr
(
"
View Inishell
&paper..."
),
menu_view
);
menu_view
->
addAction
(
show_paper
);
connect
(
show_paper
,
&
QAction
::
triggered
,
this
,
[
=
]{
QDesktopServices
::
openUrl
(
QUrl
(
":doc/paper.pdf"
));
});
show_paper
->
setEnabled
(
false
);
connect
(
show_paper
,
&
QAction
::
triggered
,
this
,
[
=
]{
QDesktopServices
::
openUrl
(
QUrl
(
"https://doi.org/10.5194/gmd-15-365-2022"
));
});
}
/**
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment