Skip to content
This repository has been archived by the owner on Mar 19, 2019. It is now read-only.

Commit

Permalink
Loading process a bit speed upped
Browse files Browse the repository at this point in the history
  • Loading branch information
ufna committed Jul 8, 2014
1 parent dbb1772 commit 5660d38
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
11 changes: 0 additions & 11 deletions ThirdParty/VaQuoleUI/Private/VaQuoleAppThread.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -181,17 +181,6 @@ void VaQuoleUIManager::run()
{
WebView->resize(NewWidth, NewHeight);
}

// Process events immediately
qApp->processEvents();

// Update external data
Page->mutex.lock();
ExtComm->bTransparent = WebView->getTransparency();
ExtComm->Width = WebView->width();
ExtComm->Height = WebView->height();
UpdateImageBuffer(ExtComm, WebView);
Page->mutex.unlock();
}

// Check URL
Expand Down
2 changes: 1 addition & 1 deletion ThirdParty/VaQuoleUI/Private/VaQuoleWebView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ VaQuoleWebView::VaQuoleWebView(QWidget *parent) :

// Register us with JavaScript
connect(this, SIGNAL(loadFinished(bool)), this, SLOT(registerJavaScriptWindowObject(bool)));
connect(page()->mainFrame(), SIGNAL(loadFinished(bool)), this, SLOT(markLoadFinished(bool)));
connect(this, SIGNAL(loadFinished(bool)), this, SLOT(markLoadFinished(bool)));
}

void VaQuoleWebView::updateImageCache(QSize ImageSize)
Expand Down

0 comments on commit 5660d38

Please sign in to comment.