Skip to content

Commit

Permalink
ui: update help menu
Browse files Browse the repository at this point in the history
Update these URLs to avoid relying on web server redirects

Corresponds to commit 4504371 in the
release branch.
  • Loading branch information
cquammen committed Nov 28, 2022
1 parent cc71987 commit 3f30d42
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Qt/ApplicationComponents/pqParaViewMenuBuilders.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -765,20 +765,20 @@ void pqParaViewMenuBuilders::buildHelpMenu(QMenu& menu)
// ParaView Release Notes
versionString.replace('.', '-');
new pqDesktopServicesReaction(
QUrl("https://blog.kitware.com/paraview-" + versionString + "-release-notes/"),
QUrl("https://www.kitware.com/paraview-" + versionString + "-release-notes/"),
(menu.addAction(QCoreApplication::translate("pqHelpMenu", "Release Notes"))
<< pqSetName("actionReleaseNotes")));

// -----------------
menu.addSeparator();

// Professional Support
new pqDesktopServicesReaction(QUrl("http://www.kitware.com/products/paraviewpro.html"),
new pqDesktopServicesReaction(QUrl("https://www.paraview.org/custom-support/"),
(menu.addAction(QCoreApplication::translate("pqHelpMenu", "Professional Support"))
<< pqSetName("actionProfessionalSupport")));

// Professional Training
new pqDesktopServicesReaction(QUrl("http://www.kitware.com/products/protraining.php"),
new pqDesktopServicesReaction(QUrl("https://www.kitware.com/support/#training"),
(menu.addAction(QCoreApplication::translate("pqHelpMenu", "Professional Training"))
<< pqSetName("actionTraining")));

Expand All @@ -788,7 +788,7 @@ void pqParaViewMenuBuilders::buildHelpMenu(QMenu& menu)
<< pqSetName("actionTutorials")));

// Online Blogs
new pqDesktopServicesReaction(QUrl("https://blog.kitware.com/tag/ParaView/"),
new pqDesktopServicesReaction(QUrl("https://www.kitware.com/tag/ParaView/"),
(menu.addAction(QCoreApplication::translate("pqHelpMenu", "Online Blogs"))
<< pqSetName("actionBlogs")));

Expand Down

0 comments on commit 3f30d42

Please sign in to comment.