From 5f44e8f374263bc561ac8beb5cc44a99a25aea83 Mon Sep 17 00:00:00 2001 From: harry Date: Thu, 19 Jan 2023 06:45:15 -0500 Subject: [PATCH] For Qt GUI, fixed http references to https://fceux.com to avoid redirection. --- README | 2 +- src/drivers/Qt/AboutWindow.cpp | 2 +- src/drivers/Qt/ConsoleWindow.cpp | 4 ++-- src/drivers/Qt/GuiConf.cpp | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README b/README index bb83d8ff..18641da1 100644 --- a/README +++ b/README @@ -5,7 +5,7 @@ Updated By mjbudd77 [NOTE: This only applies to Qt/SDL builds] -http://www.fceux.com +https://fceux.com Last Modified: March 24, 2022 diff --git a/src/drivers/Qt/AboutWindow.cpp b/src/drivers/Qt/AboutWindow.cpp index 519951a3..81871444 100644 --- a/src/drivers/Qt/AboutWindow.cpp +++ b/src/drivers/Qt/AboutWindow.cpp @@ -147,7 +147,7 @@ AboutWindow::AboutWindow(QWidget *parent) hbox1 = new QHBoxLayout(); lbl = new QLabel(); - lbl->setText("Website"); + lbl->setText("Website"); lbl->setTextInteractionFlags(Qt::TextBrowserInteraction); lbl->setOpenExternalLinks(true); diff --git a/src/drivers/Qt/ConsoleWindow.cpp b/src/drivers/Qt/ConsoleWindow.cpp index d5fd30f7..5ff7e7a3 100644 --- a/src/drivers/Qt/ConsoleWindow.cpp +++ b/src/drivers/Qt/ConsoleWindow.cpp @@ -4230,9 +4230,9 @@ void consoleWin_t::openMsgLogWin(void) void consoleWin_t::openOnlineDocs(void) { - if ( QDesktopServices::openUrl( QUrl("http://fceux.com/web/help/fceux.html") ) == false ) + if ( QDesktopServices::openUrl( QUrl("https://fceux.com/web/help/fceux.html") ) == false ) { - QueueErrorMsgWindow("Error: Failed to open link to: http://fceux.com/web/help/fceux.html"); + QueueErrorMsgWindow("Error: Failed to open link to: https://fceux.com/web/help/fceux.html"); } return; } diff --git a/src/drivers/Qt/GuiConf.cpp b/src/drivers/Qt/GuiConf.cpp index de94a611..2147658b 100644 --- a/src/drivers/Qt/GuiConf.cpp +++ b/src/drivers/Qt/GuiConf.cpp @@ -1613,7 +1613,7 @@ guiStyleTestDialog::guiStyleTestDialog(QWidget *parent) grid->addWidget( lbl, 2, 0 ); lbl = new QLabel(); - lbl->setText("Website Link"); + lbl->setText("Website Link"); lbl->setTextInteractionFlags(Qt::TextBrowserInteraction); lbl->setOpenExternalLinks(false); grid->addWidget( lbl, 2, 1 );