From 3efa7cd1e66c418e0bdfd476cbe753dbe4b63ccc Mon Sep 17 00:00:00 2001 From: Cinders Date: Mon, 23 Sep 2013 20:27:47 -0600 Subject: [PATCH] Don't show the first run dialog. Our users don't need to sign up for an account, they didn't download this off steam or amazon. --- indra/newview/llstartup.cpp | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/indra/newview/llstartup.cpp b/indra/newview/llstartup.cpp index cc6b0a28e1..0236421e6f 100755 --- a/indra/newview/llstartup.cpp +++ b/indra/newview/llstartup.cpp @@ -283,7 +283,7 @@ boost::scoped_ptr LLStartUp::sPhases(new LLViewerStats: void login_show(); void login_callback(S32 option, void* userdata); -void show_first_run_dialog(); +//void show_first_run_dialog(); // Unused in Firestorm bool first_run_dialog_callback(const LLSD& notification, const LLSD& response); void set_startup_status(const F32 frac, const std::string& string, const std::string& msg); bool login_alert_status(const LLSD& notification, const LLSD& response); @@ -979,7 +979,8 @@ bool idle_startup() if (gSavedSettings.getBOOL("FirstLoginThisInstall")) { LL_INFOS("AppInit") << "FirstLoginThisInstall, calling show_first_run_dialog()" << LL_ENDL; - show_first_run_dialog(); + // Don't show first run dialog, ever, at all. + // show_first_run_dialog(); } else { @@ -2731,10 +2732,11 @@ void login_callback(S32 option, void *userdata) } } -void show_first_run_dialog() -{ - LLNotificationsUtil::add("FirstRun", LLSD(), LLSD(), first_run_dialog_callback); -} +// Ditch the first run modal. Assume the user already has an account. +//void show_first_run_dialog() +//{ +// LLNotificationsUtil::add("FirstRun", LLSD(), LLSD(), first_run_dialog_callback); +//} bool first_run_dialog_callback(const LLSD& notification, const LLSD& response) {