Make webkit work with Qt 4.8

This commit is contained in:
Aleric Inglewood
2012-09-05 04:12:13 +02:00
parent a8f5bf8baf
commit d8ff809092

View File

@@ -160,8 +160,8 @@ private:
mVolumeCatcher.pump();
checkEditState();
if(mInitState == INIT_STATE_NAVIGATE_COMPLETE)
if(mInitState >= INIT_STATE_NAVIGATE_COMPLETE)
{
if(!mInitialNavigateURL.empty())
{
@@ -284,7 +284,7 @@ private:
bool result = LLQtWebKit::getInstance()->init( application_dir, component_dir, mProfileDir, native_window_handle );
if ( result )
{
mInitState = INIT_STATE_INITIALIZED;
setInitState(INIT_STATE_INITIALIZED);
// debug spam sent to viewer and displayed in the log as usual
postDebugMessage( "browser initialized okay" );