diff libgui/src/main-window.cc @ 25024:3c817af70eed stable

maint: use https for all Octave project URLs * README, update-bug-status.sh, configure.ac, bugs.txi, errors.txi, func.txi, octave-cli.1, octave.1, oop.txi, preface.txi, testfun.txi, CHECKLIST, PROJECTS, be_BY.ts, de_DE.ts, en_US.ts, es_ES.ts, eu_ES.ts, fr_FR.ts, it_IT.ts, ja_JP.ts, nl_NL.ts, pt_BR.ts, pt_PT.ts, ru_RU.ts, uk_UA.ts, zh_CN.ts, main-window.cc, welcome-wizard.cc, version.cc, __unimplemented__.m, help.m, __additional_help_message__.m, bug_report.m, info.m, __publish_html_output__.m, publish.m, get_forge_pkg.m, list_forge_packages.m, test.m, test_script_example.m: Use https for all Octave project URLs under octave.org or www.gnu.org/software/octave.
author Mike Miller <mtmiller@octave.org>
date Tue, 27 Mar 2018 13:54:58 -0700
parents 3390adaee21d
children ba5af45bbfc4
line wrap: on
line diff
--- a/libgui/src/main-window.cc	Tue Mar 27 12:38:00 2018 -0700
+++ b/libgui/src/main-window.cc	Tue Mar 27 13:54:58 2018 -0700
@@ -435,7 +435,7 @@
   void main_window::open_online_documentation_page (void)
   {
     QDesktopServices::openUrl (
-                               QUrl ("http://octave.org/doc/interpreter/index.html"));
+                               QUrl ("https://octave.org/doc/interpreter/index.html"));
   }
 
   void main_window::display_release_notes (void)
@@ -509,7 +509,7 @@
          ? settings->value ("news/allow_web_connection", false).toBool ()
          : true);
 
-    QString base_url = "http://octave.org";
+    QString base_url = "https://octave.org";
     QString page = "community-news.html";
 
     QThread *worker_thread = new QThread;
@@ -581,22 +581,22 @@
 
   void main_window::open_bug_tracker_page (void)
   {
-    QDesktopServices::openUrl (QUrl ("http://octave.org/bugs.html"));
+    QDesktopServices::openUrl (QUrl ("https://octave.org/bugs.html"));
   }
 
   void main_window::open_octave_packages_page (void)
   {
-    QDesktopServices::openUrl (QUrl ("http://octave.org/packages.html"));
+    QDesktopServices::openUrl (QUrl ("https://octave.org/packages.html"));
   }
 
   void main_window::open_contribute_page (void)
   {
-    QDesktopServices::openUrl (QUrl ("http://octave.org/contribute.html"));
+    QDesktopServices::openUrl (QUrl ("https://octave.org/contribute.html"));
   }
 
   void main_window::open_donate_page (void)
   {
-    QDesktopServices::openUrl (QUrl ("http://octave.org/donate.html"));
+    QDesktopServices::openUrl (QUrl ("https://octave.org/donate.html"));
   }
 
   void main_window::process_settings_dialog_request (const QString& desired_tab)
@@ -2734,7 +2734,7 @@
                  "</p>\n"
                  "<p>\n"
                  "For the latest news, please check\n"
-                 "<a href=\"http://octave.org/community-news.html\">http://octave.org/community-news.html</a>\n"
+                 "<a href=\"https://octave.org/community-news.html\">https://octave.org/community-news.html</a>\n"
                  "when you have a connection to the web (link opens in an external browser).\n"
                  "</p>\n"
                  "<p>\n"
@@ -2752,7 +2752,7 @@
              "</p>\n"
              "<p>\n"
              "For the latest news, please check\n"
-             "<a href=\"http://octave.org/community-news.html\">http://octave.org/community-news.html</a>\n"
+             "<a href=\"https://octave.org/community-news.html\">https://octave.org/community-news.html</a>\n"
              "when you have a connection to the web (link opens in an external browser)\n"
              "or enable web connections for news in Octave's network settings dialog.\n"
              "</p>\n"