For Qt GUI, fixed http references to https://fceux.com to avoid redirection.

This commit is contained in:
harry 2023-01-19 06:45:15 -05:00
parent 243eb1d3fd
commit 5f44e8f374
4 changed files with 5 additions and 5 deletions

2
README
View File

@ -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

View File

@ -147,7 +147,7 @@ AboutWindow::AboutWindow(QWidget *parent)
hbox1 = new QHBoxLayout();
lbl = new QLabel();
lbl->setText("<a href=\"http://fceux.com\">Website</a>");
lbl->setText("<a href=\"https://fceux.com\">Website</a>");
lbl->setTextInteractionFlags(Qt::TextBrowserInteraction);
lbl->setOpenExternalLinks(true);

View File

@ -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;
}

View File

@ -1613,7 +1613,7 @@ guiStyleTestDialog::guiStyleTestDialog(QWidget *parent)
grid->addWidget( lbl, 2, 0 );
lbl = new QLabel();
lbl->setText("<a href=\"http://fceux.com\">Website Link</a>");
lbl->setText("<a href=\"https://fceux.com\">Website Link</a>");
lbl->setTextInteractionFlags(Qt::TextBrowserInteraction);
lbl->setOpenExternalLinks(false);
grid->addWidget( lbl, 2, 1 );