Permalink
Browse files

Links from the UI: Change from http:// to https:// wherever possible.

  • Loading branch information...
hrydgard committed Nov 14, 2017
1 parent 93ca73d commit c12f17134b2175859909b9fd3bfe6923c80e0e94
Showing with 14 additions and 14 deletions.
  1. +2 −2 Qt/mainwindow.cpp
  2. +1 −1 UI/GameSettingsScreen.cpp
  3. +4 −4 UI/MainScreen.cpp
  4. +7 −7 UI/MiscScreens.cpp
View
@@ -391,12 +391,12 @@ void MainWindow::fullscrAct()
void MainWindow::websiteAct()
{
QDesktopServices::openUrl(QUrl("http://www.ppsspp.org/"));
QDesktopServices::openUrl(QUrl("https://www.ppsspp.org/"));
}
void MainWindow::forumAct()
{
QDesktopServices::openUrl(QUrl("http://forums.ppsspp.org/"));
QDesktopServices::openUrl(QUrl("https://forums.ppsspp.org/"));
}
void MainWindow::gitAct()
@@ -838,7 +838,7 @@ static void RecreateActivity() {
}
UI::EventReturn GameSettingsScreen::OnAdhocGuides(UI::EventParams &e) {
LaunchBrowser("http://forums.ppsspp.org/forumdisplay.php?fid=34");
LaunchBrowser("https://forums.ppsspp.org/forumdisplay.php?fid=34");
return UI::EVENT_DONE;
}
View
@@ -920,7 +920,7 @@ UI::EventReturn MainScreen::OnDownloadUpgrade(UI::EventParams &e) {
}
#else
// Go directly to ppsspp.org and let the user sort it out
LaunchBrowser("http://www.ppsspp.org/downloads.html");
LaunchBrowser("https://www.ppsspp.org/downloads.html");
#endif
return UI::EVENT_DONE;
}
@@ -1131,18 +1131,18 @@ UI::EventReturn MainScreen::OnSupport(UI::EventParams &e) {
#ifdef __ANDROID__
LaunchBrowser("market://details?id=org.ppsspp.ppssppgold");
#else
LaunchBrowser("http://central.ppsspp.org/buygold");
LaunchBrowser("https://central.ppsspp.org/buygold");
#endif
return UI::EVENT_DONE;
}
UI::EventReturn MainScreen::OnPPSSPPOrg(UI::EventParams &e) {
LaunchBrowser("http://www.ppsspp.org");
LaunchBrowser("https://www.ppsspp.org");
return UI::EVENT_DONE;
}
UI::EventReturn MainScreen::OnForums(UI::EventParams &e) {
LaunchBrowser("http://forums.ppsspp.org");
LaunchBrowser("https://forums.ppsspp.org");
return UI::EVENT_DONE;
}
View
@@ -530,9 +530,9 @@ void CreditsScreen::CreateViews() {
Button *back = root_->Add(new Button(di->T("Back"), new AnchorLayoutParams(260, 64, NONE, NONE, 10, 10, false)));
back->OnClick.Handle(this, &CreditsScreen::OnOK);
root_->SetDefaultFocusView(back);
#ifndef GOLD
root_->Add(new Button(cr->T("Buy Gold"), new AnchorLayoutParams(260, 64, 10, NONE, NONE, 10, false)))->OnClick.Handle(this, &CreditsScreen::OnSupport);
#endif
if (!System_GetPropertyBool(SYSPROP_APP_GOLD)) {
root_->Add(new Button(cr->T("Buy Gold"), new AnchorLayoutParams(260, 64, 10, NONE, NONE, 10, false)))->OnClick.Handle(this, &CreditsScreen::OnSupport);
}
root_->Add(new Button(cr->T("PPSSPP Forums"), new AnchorLayoutParams(260, 64, 10, NONE, NONE, 84, false)))->OnClick.Handle(this, &CreditsScreen::OnForums);
root_->Add(new Button("www.ppsspp.org", new AnchorLayoutParams(260, 64, 10, NONE, NONE, 158, false)))->OnClick.Handle(this, &CreditsScreen::OnPPSSPPOrg);
#ifdef __ANDROID__
@@ -550,7 +550,7 @@ UI::EventReturn CreditsScreen::OnSupport(UI::EventParams &e) {
#ifdef __ANDROID__
LaunchBrowser("market://details?id=org.ppsspp.ppssppgold");
#else
LaunchBrowser("http://central.ppsspp.org/buygold");
LaunchBrowser("https://central.ppsspp.org/buygold");
#endif
return UI::EVENT_DONE;
}
@@ -565,12 +565,12 @@ UI::EventReturn CreditsScreen::OnTwitter(UI::EventParams &e) {
}
UI::EventReturn CreditsScreen::OnPPSSPPOrg(UI::EventParams &e) {
LaunchBrowser("http://www.ppsspp.org");
LaunchBrowser("https://www.ppsspp.org");
return UI::EVENT_DONE;
}
UI::EventReturn CreditsScreen::OnForums(UI::EventParams &e) {
LaunchBrowser("http://forums.ppsspp.org");
LaunchBrowser("https://forums.ppsspp.org");
return UI::EVENT_DONE;
}
@@ -689,7 +689,7 @@ void CreditsScreen::render() {
"",
"",
cr->T("check", "Also check out Dolphin, the best Wii/GC emu around:"),
"http://www.dolphin-emu.org",
"https://www.dolphin-emu.org",
"",
"",
cr->T("info1", "PPSSPP is only intended to play games you own."),

0 comments on commit c12f171

Please sign in to comment.