Fix for - DEV-41731 (HTTP AUTH issues).

Reintroduces "white-flash" but this is less important than fix for now.
Also cleaned up a code typo.
meow-7.2.2
callum 2009-10-29 11:46:32 -07:00
parent 95031093c7
commit a99493e8d0
1 changed files with 3 additions and 4 deletions

View File

@ -207,14 +207,13 @@ private:
// don't flip bitmap
LLQtWebKit::getInstance()->flipWindow( mBrowserWindowId, true );
// Set the background color to black
LLQtWebKit::getInstance()->
// set background color to be black - mostly for initial login page
LLQtWebKit::getInstance()->setBackgroundColor( mBrowserWindowId, 0x00, 0x00, 0x00 );
// go to the "home page"
// Don't do this here -- it causes the dreaded "white flash" when loading a browser instance.
// LLQtWebKit::getInstance()->navigateTo( mBrowserWindowId, "about:blank" );
// FIXME: Re-added this because navigating to a "page" initializes things correctly - especially
// for the HTTP AUTH dialog issues (DEV-41731). Will fix at a later date.
LLQtWebKit::getInstance()->navigateTo( mBrowserWindowId, "about:blank" );
// set flag so we don't do this again
mBrowserInitialized = true;