From 41a67d425063fa3d290e2f9332f58d2400d68a40 Mon Sep 17 00:00:00 2001 From: hiker Date: Thu, 12 Mar 2015 10:33:42 +1100 Subject: [PATCH] Added privacy notice to 'enable internet' dialog; used redirecting URLs for privacy and terms&conditions. --- src/main.cpp | 4 ++-- src/states_screens/dialogs/registration_dialog.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index d9557221b..8e4a8685f 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -395,7 +395,6 @@ void handleXmasMode() */ bool isEasterMode(int day, int month, int year, int before_after_days) { - bool ears = false; switch (UserConfigParams::m_easter_ear_mode) { case 0: @@ -1201,6 +1200,7 @@ void askForInternetPermission() new MessageDialog(_("SuperTuxKart may connect to a server " "to download add-ons and notify you of updates. We also collect " "anonymous hardware statistics to help with the development of STK. " + "Please read our privacy policy at http://privacy.supertuxkart.net. " "Would you like this feature to be enabled? (To change this setting " "at a later time, go to options, select tab " "'User Interface', and edit \"Connect to the " @@ -1651,4 +1651,4 @@ void runUnitTests() assert( isEasterMode(22, 3, 2016, 5)); assert(!isEasterMode(21, 3, 2016, 5)); UserConfigParams::m_easter_ear_mode = saved_easter_mode; -} // unitTesting \ No newline at end of file +} // unitTesting diff --git a/src/states_screens/dialogs/registration_dialog.cpp b/src/states_screens/dialogs/registration_dialog.cpp index 83b39567f..c876fc910 100644 --- a/src/states_screens/dialogs/registration_dialog.cpp +++ b/src/states_screens/dialogs/registration_dialog.cpp @@ -46,7 +46,7 @@ RegistrationDialog::RegistrationDialog() : L"these terms. If you have any questions or comments regarding these " L"terms, one of the members of the development team would gladly " L"assist you.", - L"http://supertuxkart.net/terms"); + L"http://terms.supertuxkart.net"); terms_widget->setText(terms, false); // showRegistrationTerms();